]> gitweb.michael.orlitzky.com - dunshire.git/blob - .pylintrc
Add a .pylintrc file and fix a few warnings.
[dunshire.git] / .pylintrc
1 [MASTER]
2 # We turn off the reports anyway
3 persistent=no
4
5 # Use multiple processes to speed up Pylint.
6 jobs=2
7
8 [MESSAGES CONTROL]
9
10
11 # Disable the message, report, category or checker with the given id(s). You
12 # can either give multiple identifiers separated by comma (,) or put this
13 # option multiple times (only on the command line, not in the configuration
14 # file where it should appear only once).You can also use "--disable=all" to
15 # disable everything first and then reenable specific checks. For example, if
16 # you want to run only the similarities checker, you can use "--disable=all
17 # --enable=similarities". If you want to run only the classes checker, but have
18 # no Warning level messages displayed, use"--disable=all --enable=classes
19 # --disable=W"
20 disable=cmp-builtin,oct-method,raising-string,long-builtin,delslice-method,parameter-unpacking,dict-iter-method,range-builtin-not-iterating,print-statement,no-absolute-import,old-ne-operator,input-builtin,unicode-builtin,coerce-method,file-builtin,nonzero-method,using-cmp-argument,unpacking-in-except,zip-builtin-not-iterating,setslice-method,execfile-builtin,next-method-called,buffer-builtin,round-builtin,hex-method,standarderror-builtin,old-raise-syntax,cmp-method,xrange-builtin,metaclass-assignment,backtick,getslice-method,indexing-exception,unichr-builtin,coerce-builtin,reload-builtin,dict-view-method,old-division,basestring-builtin,raw_input-builtin,long-suffix,map-builtin-not-iterating,old-octal-literal,apply-builtin,suppressed-message,intern-builtin,import-star-module-level,reduce-builtin,filter-builtin-not-iterating,useless-suppression
21
22
23 [REPORTS]
24 reports=no
25
26 [BASIC]
27
28 # Allow map() and filter() functions, because why the fuck not?
29 bad-functions=
30
31 # Good variable names which should always be accepted, separated by a comma
32 good-names=b,c,e1,e2,h,A,C,G,K,_K,L,L_matrix,_L,indented_L,M
33
34 # A regular expression matching the name of dummy variables (i.e. expectedly
35 # not used).
36 dummy-variables-rgx=_$|dummy
37
38
39 [MISCELLANEOUS]
40 # List of note tags to take in consideration, separated by a comma.
41 notes=FIXME,TODO
42
43
44 [FORMAT]
45 # Maximum number of characters on a single line.
46 max-line-length=79