]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Comment my new method-rgx in .pylintrc.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Nov 2016 21:55:27 +0000 (17:55 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Nov 2016 21:55:27 +0000 (17:55 -0400)
.pylintrc

index 782cd4a5de686d04a5e72635d6e3f48f675e10e5..ff7d0fc090d5176d337f78591a8b70d1725b67fc 100644 (file)
--- a/.pylintrc
+++ b/.pylintrc
@@ -22,7 +22,9 @@ bad-functions=
 # 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]