Skip to content

Commit 53bef13

Browse files
author
Fabian Ihl
committed
soften variable name checking
1 parent 430bbde commit 53bef13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pylintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$
235235
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
236236

237237
# Regular expression matching correct constant names
238-
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
238+
const-rgx=(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$
239239

240240
# Minimum line length for functions/classes that require docstrings, shorter
241241
# ones are exempt.
@@ -284,10 +284,10 @@ no-docstring-rgx=^_
284284
property-classes=abc.abstractproperty
285285

286286
# Naming hint for variable names
287-
variable-name-hint=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
287+
variable-name-hint=(([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
288288

289289
# Regular expression matching correct variable names
290-
variable-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
290+
variable-rgx=(([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
291291

292292

293293
[VARIABLES]

0 commit comments

Comments
 (0)