From 1ae07f015012f23a70fed97fee61b216f4ca257c Mon Sep 17 00:00:00 2001 From: Josh Hoyt Date: Tue, 26 Jun 2007 00:03:30 +0000 Subject: [PATCH] [project @ Allow all-caps constants in the PyLint config] --- pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index abe0996..fb36e4c 100644 --- a/pylintrc +++ b/pylintrc @@ -15,7 +15,7 @@ no-docstring-rgx=__.*__ module-rgx=[a-z_][a-z0-9_]*$ # Regular expression which should only match correct module level names -const-rgx=(([a-z_][a-z0-9_]*)|(__.*__))$ +const-rgx=(([a-z_][a-z0-9_]{3,30})|(__.*__)|([A-Z_][A-Z0-9_]{3,30}))$ # Regular expression which should only match correct class names class-rgx=[A-Z_][a-zA-Z0-9]+$