]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - .pylintrc
Clean up and document some of the new test code.
[dunshire.git] / .pylintrc
index 16b1ca72a59736ceeb6a31a53835e9678fdf5cd4..782cd4a5de686d04a5e72635d6e3f48f675e10e5 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -20,7 +20,10 @@ 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,c,D,e1,e2,h,A,C,G,H,K,_K,L,_L,indented_L,M
+
+# Regular expression matching correct method names
+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.