diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2014-11-23 21:00:19 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2014-11-23 21:00:19 +0100 |
commit | 26522db76eaf73445dc96e135c24c01209bdcdc6 (patch) | |
tree | 87af574af60f1ed6e8f4c009b3cd278bc2408c29 | |
parent | 87380faa66d43cb9d2652aab28c66fa4d77589e4 (diff) | |
download | cython-26522db76eaf73445dc96e135c24c01209bdcdc6.tar.gz |
allow single character variable/argument names (used a lot in Parsing.py, for example)
-rw-r--r-- | pylintrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |