summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-11-23 21:00:19 +0100
committerStefan Behnel <stefan_ml@behnel.de>2014-11-23 21:00:19 +0100
commit26522db76eaf73445dc96e135c24c01209bdcdc6 (patch)
tree87af574af60f1ed6e8f4c009b3cd278bc2408c29 /pylintrc
parent87380faa66d43cb9d2652aab28c66fa4d77589e4 (diff)
downloadcython-26522db76eaf73445dc96e135c24c01209bdcdc6.tar.gz
allow single character variable/argument names (used a lot in Parsing.py, for example)
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index 632afa7b1..beb684816 100644
--- a/pylintrc
+++ b/pylintrc
@@ -102,10 +102,10 @@ method-rgx=[a-z_][a-z0-9_]{2,30}|visit_[A-Za-z]+$
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct argument names
-argument-rgx=[a-z_][a-z0-9_]{2,30}$
+argument-rgx=[a-z_][a-z0-9_]{0,30}$
# Regular expression which should only match correct variable names
-variable-rgx=[a-z_][a-z0-9_]{2,30}$
+variable-rgx=[a-z_][a-z0-9_]{0,30}$
# Regular expression which should only match correct list comprehension /
# generator expression variable names