diff options
author | lovetox <philipp@hoerist.com> | 2020-03-10 23:20:35 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-03-10 23:20:35 +0300 |
commit | 5e326b3eb83896d19c57964e06e6bb4292efe289 (patch) | |
tree | fc3b3fd3480286cd755b7009941e6e0b615995de /.pylintrc | |
parent | 6113c4f50de7509563e57ba36eeb63e5132ae106 (diff) |
Update .pylintrc
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -50,7 +50,9 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" -disable=C0111,C0301,R1710,R0912,R0914,R0915,W0511,W0231,W0233 +# C0111 missing-docstring +# W0511 fix-me +disable=C0111,W0511 # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option @@ -94,7 +96,7 @@ max-nested-blocks=5 # List of additional names supposed to be defined in builtins. Remember that # you should avoid to define new builtins when possible. -additional-builtins=_ +additional-builtins= # Tells whether unused global variables should be treated as a violation. allow-global-unused-variables=yes @@ -138,7 +140,7 @@ ignore-mixin-members=yes # List of class names for which member attributes should not be checked (useful # for classes with dynamically set attributes). This supports the use of # qualified names. -ignored-classes=optparse.Values,thread._local,_thread._local +ignored-classes=optparse.Values,thread._local,_thread._local,gi.repository.GLib.Error # List of module names for which member attributes should not be checked # (useful for modules/projects where namespaces are manipulated during runtime @@ -220,10 +222,10 @@ indent-after-paren=4 indent-string=' ' # Maximum number of characters on a single line. -max-line-length=100 +max-line-length=80 # Maximum number of lines in a module -max-module-lines=1000 +max-module-lines=3000 # List of optional constructs for which whitespace checking is disabled. `dict- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. @@ -357,7 +359,7 @@ known-third-party=enchant [DESIGN] # Maximum number of arguments for function / method -max-args=10 +max-args=15 # Maximum number of attributes for a class (see R0902). max-attributes=9999 @@ -366,22 +368,22 @@ max-attributes=9999 max-bool-expr=5 # Maximum number of branch for function / method body -max-branches=12 +max-branches=50 # Maximum number of locals for function / method body -max-locals=15 +max-locals=50 # Maximum number of parents for a class (see R0901). max-parents=7 # Maximum number of public methods for a class (see R0904). -max-public-methods=20 +max-public-methods=50 # Maximum number of return / yield for function / method body max-returns=100 # Maximum number of statements in function / method body -max-statements=50 +max-statements=100 # Minimum number of public methods for a class (see R0903). min-public-methods=0 |