aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pylintrc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-10 10:12:01 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-10 10:12:01 +0300
commit129cc8e6e916533ff51a5d65721cf904542a1c27 (patch)
tree67c85c362b756ffcc46f509b299319959c1ff2fa /.pylintrc
parentfix licensing notices (diff)
downloadvk-scripts-129cc8e6e916533ff51a5d65721cf904542a1c27.tar.gz
vk-scripts-129cc8e6e916533ff51a5d65721cf904542a1c27.zip
fix Pylint warnings
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc55
1 files changed, 30 insertions, 25 deletions
diff --git a/.pylintrc b/.pylintrc
index 86cac01..4cb9bbf 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,31 +1,36 @@
[MESSAGES CONTROL]
-disable=missing-docstring,too-many-public-methods,too-few-public-methods,multiple-imports,duplicate-code
+#disable=old-ne-operator,filter-builtin-not-iterating,nonzero-method,long-builtin,unpacking-in-except,backtick,suppressed-message,setslice-method,round-builtin,coerce-builtin,input-builtin,raising-string,raw_input-builtin,apply-builtin,delslice-method,useless-suppression,hex-method,zip-builtin-not-iterating,range-builtin-not-iterating,intern-builtin,old-octal-literal,xrange-builtin,no-absolute-import,cmp-builtin,reduce-builtin,next-method-called,getslice-method,oct-method,reload-builtin,dict-view-method,file-builtin,long-suffix,parameter-unpacking,dict-iter-method,cmp-method,old-division,using-cmp-argument,buffer-builtin,old-raise-syntax,indexing-exception,unicode-builtin,unichr-builtin,coerce-method,basestring-builtin,map-builtin-not-iterating,metaclass-assignment,print-statement,import-star-module-level,standarderror-builtin,execfile-builtin
+disable=duplicate-code,missing-docstring,multiple-imports,too-many-public-methods,too-few-public-methods
[BASIC]
+#bad-functions=map,filter
bad-functions=
-good-names=i,j,k
-bad-names=
-name-group=
-include-naming-hint=no
-inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
-inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
-method-rgx=[a-z_][a-z0-9_]{2,30}$
-method-name-hint=[a-z_][a-z0-9_]{2,30}$
-class-rgx=[A-Z_][a-zA-Z0-9]+$
-class-name-hint=[A-Z_][a-zA-Z0-9]+$
-attr-rgx=[a-z_][a-z0-9_]{0,30}$
-attr-name-hint=[a-z_][a-z0-9_]{0,30}$
-function-rgx=[a-z_][a-z0-9_]{2,30}$
-function-name-hint=[a-z_][a-z0-9_]{2,30}$
-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]+))$
-class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$
-class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$
-variable-rgx=[a-z_][a-z0-9_]{0,30}$
-variable-name-hint=[a-z_][a-z0-9_]{0,30}$
-argument-rgx=[a-z_][a-z0-9_]{0,30}$
-argument-name-hint=[a-z_][a-z0-9_]{0,30}$
-no-docstring-rgx=^_
-docstring-min-length=-1
+#good-names=i,j,k,ex,Run,_
+good-names=_,e,fd,i,n
+#bad-names=foo,bar,baz,toto,tutu,tata
+#name-group=
+#include-naming-hint=no
+#class-rgx=[A-Z_][a-zA-Z0-9]+$
+#class-name-hint=[A-Z_][a-zA-Z0-9]+$
+#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]+))$
+#inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
+#inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
+#variable-rgx=[a-z_][a-z0-9_]{2,30}$
+#variable-name-hint=[a-z_][a-z0-9_]{2,30}$
+#const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
+#const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
+#function-rgx=[a-z_][a-z0-9_]{2,30}$
+#function-name-hint=[a-z_][a-z0-9_]{2,30}$
+#attr-rgx=[a-z_][a-z0-9_]{2,30}$
+#attr-name-hint=[a-z_][a-z0-9_]{2,30}$
+#argument-rgx=[a-z_][a-z0-9_]{2,30}$
+#argument-name-hint=[a-z_][a-z0-9_]{2,30}$
+#method-rgx=[a-z_][a-z0-9_]{2,30}$
+#method-name-hint=[a-z_][a-z0-9_]{2,30}$
+#class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
+#class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
+#no-docstring-rgx=^_
+#docstring-min-length=-1