Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Payne <jepayne1138@gmail.com>2018-05-14 19:33:30 +0300
committerJames Payne <jepayne1138@gmail.com>2018-05-16 23:37:39 +0300
commit5300d7d71f77da2ec5eb82cefc7e5842932dd996 (patch)
tree361eb4b5a4ea542a702acc9f6f5122f0b758fc66 /.pylintrc
parent24974b07ba7fabcc9c93fbf5bcb7aa0ac6e69c04 (diff)
Fix Pylint upgrade issues
* Remove unsupported pylint disable options * star-args removed in Pylint 1.4.3 * abstract-class-little-used removed in Pylint 1.4.3 * Fixes new lint errors * Copy dummy-variable-rgx expression to new ignored-argument-names expression to ignore unused funtion arguments * Notable changes * Refactor to satisfy Pylint no-else-return warning * Fix Pylint inconsistent-return-statements warning * Refactor to satisfy consider-iterating-dictionary * Remove methods with only super call to satisfy useless-super-delegation * Refactor too-many-nested-statements where possible * Suppress type checked errors where member is dynamically added (notably derived from josepy.JSONObjectWithFields) * Remove None default of func parameter for ExitHandler and ErrorHandler Resolves #5973
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index 43c45b04a..3d6361dcb 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -189,6 +189,9 @@ init-import=no
# not used).
dummy-variables-rgx=(unused)?_.*|dummy
+# A regular expression matching ignored argument variable names
+ignored-argument-names=(unused)?_.*|dummy
+
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
additional-builtins=