From 26522db76eaf73445dc96e135c24c01209bdcdc6 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 23 Nov 2014 21:00:19 +0100 Subject: allow single character variable/argument names (used a lot in Parsing.py, for example) --- pylintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pylintrc') 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 -- cgit v1.2.1