diff options
author | James Payne <jepayne1138@gmail.com> | 2018-05-14 19:33:30 +0300 |
---|---|---|
committer | James Payne <jepayne1138@gmail.com> | 2018-05-16 23:37:39 +0300 |
commit | 5300d7d71f77da2ec5eb82cefc7e5842932dd996 (patch) | |
tree | 361eb4b5a4ea542a702acc9f6f5122f0b758fc66 /.pylintrc | |
parent | 24974b07ba7fabcc9c93fbf5bcb7aa0ac6e69c04 (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-- | .pylintrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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= |