]> gitweb.michael.orlitzky.com - dunshire.git/blob - .pylintrc
Remove two TODOs that were addressed with larger fudge factors in tests.
[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 # Thanks, but you don't need to tell me that I suppressed the message
10 # that I suppressed. Kinda defeats the point, eh?
11 disable=I0011,I0020
12
13 [REPORTS]
14 reports=no
15
16 [BASIC]
17 # Allow map() and filter() functions, because why the fuck not?
18 bad-functions=
19
20 # These are all names from the associated papers. It would be more
21 # confusing to name them something else and then have to juggle them
22 # in your head as you switch between the source code and the papers.
23 good-names=a,b,_b,_c,D,e1,e2,_G,_h,A,_A,_C,G,H,K,_K,L,_L,indented_L,M
24
25 # A regular expression matching correct method names. This differs
26 # from the default in that it will accept much longer names (50
27 # characters) if they happen to begin with "test_".
28 method-rgx=([a-z_][a-z0-9_]{2,30}|test_[a-z_][a-z0-9_]{2,50})$
29
30 [MISCELLANEOUS]
31 # List of note tags to take in consideration, separated by a comma.
32 notes=FIXME,TODO
33
34
35 [FORMAT]
36 # Maximum number of characters on a single line.
37 max-line-length=78
38
39 # Maximum number of lines in a module. I bet the default of 1000 was
40 # chosen by someone who doesn't document his code.
41 max-module-lines=10000
42
43 [DESIGN]
44 # Reduce this to 1 from 2, since pylint doesn't seem to think that
45 # __str__(), __contains__(), etc. are public methods.
46 min-public-methods=1