X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=blobdiff_plain;f=.pylintrc;h=47881daf3b22bb62a3cdd42ee77b887667cbb9a1;hp=16b1ca72a59736ceeb6a31a53835e9678fdf5cd4;hb=428ef4a28dc25409df02f6af024043c21307a646;hpb=23a5893ede3a22653128d3e7a66fb3f6b80616b8 diff --git a/.pylintrc b/.pylintrc index 16b1ca7..47881da 100644 --- a/.pylintrc +++ b/.pylintrc @@ -20,7 +20,12 @@ bad-functions= # These are all names from the associated papers. It would be more # confusing to name them something else and then have to juggle them # in your head as you switch between the source code and the papers. -good-names=a,b,c,D,e1,e2,h,A,C,G,K,_K,L,_L,indented_L,M +good-names=a,b,_b,_c,D,e1,e2,_G,_h,A,_A,_C,G,H,K,_K,L,_L,indented_L,M + +# A regular expression matching correct method names. This differs +# from the default in that it will accept much longer names (50 +# characters) if they happen to begin with "test_". +method-rgx=([a-z_][a-z0-9_]{2,30}|test_[a-z_][a-z0-9_]{2,50})$ [MISCELLANEOUS] # List of note tags to take in consideration, separated by a comma. @@ -31,6 +36,10 @@ notes=FIXME,TODO # Maximum number of characters on a single line. max-line-length=78 +# Maximum number of lines in a module. I bet the default of 1000 was +# chosen by someone who doesn't document his code. +max-module-lines=10000 + [DESIGN] # Reduce this to 1 from 2, since pylint doesn't seem to think that # __str__(), __contains__(), etc. are public methods.