Skip to content

Commit

Permalink
pylint: Disable checks introduced in pylint 2.6
Browse files Browse the repository at this point in the history
pylint 2.6 was released on 2020-08-20 and introduced two new checks
which we cannot use due to Python 2:
  - super-with-arguments (R1725)
  - raise-missing-from (W0707)

Release notes: http://pylint.pycqa.org/en/latest/whatsnew/2.6.html
  • Loading branch information
drehak committed Aug 25, 2020
1 parent 9009315 commit d3a60d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ disable=
too-many-statements,
# new for python3 version of pylint
useless-object-inheritance,
consider-using-set-comprehension, # pylint3 force to use comprehension in place we don't want (py2 doesnt have these options, for inline skip)
consider-using-set-comprehension, # pylint3 force to use comprehension in place we don't want (py2 doesnt have these options, for inline skip)
unnecessary-pass,
invalid-envvar-default, # pylint3 warnings envvar returns str/none by default
bad-option-value, # python 2 doesn't have import-outside-toplevel, but in some case we need to import outside toplevel
bad-option-value, # python 2 doesn't have import-outside-toplevel, but in some case we need to import outside toplevel
super-with-arguments, # required in python 2
raise-missing-from, # no 'raise from' in python 2

[FORMAT]
# Maximum number of characters on a single line.
Expand Down

0 comments on commit d3a60d3

Please sign in to comment.