summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorSergeyKosarchuk <sergeykosarchuk@gmail.com>2018-07-17 10:42:06 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2018-07-17 09:42:06 +0200
commit0581d30e6297b3080ce12b2fc75a2f5283392e20 (patch)
tree84b88d683de0e8b9b9b0dd3a463889b56f67adbb /pylintrc
parente17b37c5cddb620b009e91a9bc37aa333502ad74 (diff)
downloadpylint-git-0581d30e6297b3080ce12b2fc75a2f5283392e20.tar.gz
Remove the maximum length from the style regular expressions (#2290)
Close #2047
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/pylintrc b/pylintrc
index cad430106..8644d0da7 100644
--- a/pylintrc
+++ b/pylintrc
@@ -201,10 +201,10 @@ const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
# Regular expression matching correct attribute names
-attr-rgx=[a-z_][a-z0-9_]{2,30}$
+attr-rgx=[a-z_][a-z0-9_]{2,}$
# Naming hint for attribute names
-attr-name-hint=[a-z_][a-z0-9_]{2,30}$
+attr-name-hint=[a-z_][a-z0-9_]{2,}$
# Regular expression matching correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$
@@ -237,10 +237,10 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Regular expression matching correct method names
-method-rgx=[a-z_][a-z0-9_]{2,30}$
+method-rgx=[a-z_][a-z0-9_]{2,}$
# Naming hint for method names
-method-name-hint=[a-z_][a-z0-9_]{2,30}$
+method-name-hint=[a-z_][a-z0-9_]{2,}$
# Regular expression which should only match function or class names that do
# not require a docstring.