Skip to content

Commit

Permalink
[project @ Allow all-caps constants in the PyLint config]
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Hoyt committed Jun 26, 2007
1 parent b4a193d commit 1ae07f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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]+$
Expand Down

0 comments on commit 1ae07f0

Please sign in to comment.