]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - .pylintrc
setup.py,doc/source/conf.py: bump to version 0.1.3
[dunshire.git] / .pylintrc
index 782cd4a5de686d04a5e72635d6e3f48f675e10e5..82f558676c33a7a286553f94b97d629261c411ae 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -7,8 +7,13 @@ jobs=2
 
 [MESSAGES CONTROL]
 # Thanks, but you don't need to tell me that I suppressed the message
-# that I suppressed. Kinda defeats the point, eh?
-disable=I0011,I0020
+# that I suppressed. Kinda defeats the point, eh? Those are the "I"
+# rules.
+#
+# The "C0103" rule is for my variable names, all of which come from
+# mathematical references and would be more confusing if I changed them
+# for no reason in the source code.
+disable=I0011,I0020,C0103
 
 [REPORTS]
 reports=no
@@ -17,12 +22,9 @@ reports=no
 # Allow map() and filter() functions, because why the fuck not?
 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,H,K,_K,L,_L,indented_L,M
-
-# Regular expression matching correct method names
+# 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]
@@ -34,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.