Skip to content

Commit

Permalink
Disable function-redefined in pylint.
Browse files Browse the repository at this point in the history
This is required because pylint does not support typing.overload yet.

See pylint-dev/pylint#2239
  • Loading branch information
mrshannon committed Feb 15, 2019
1 parent 9ee2726 commit 143cd64
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ disable=print-statement,
too-many-return-statements,
no-name-in-module,
no-member,
function-redefined,
fixme

# protected-access
Expand All @@ -159,6 +160,7 @@ disable=print-statement,
# This is currently broken (see https://github.com/PyCQA/pylint/issues/565).
# However, by using Abstract Base Classes this check will be done by the
# interpreter.
# TODO: Remove this when https://github.com/PyCQA/pylint/issues/565) is fixed

# too-many-arguments
# The stdlib does not follow this either.
Expand All @@ -172,6 +174,11 @@ disable=print-statement,
# no-name-in-module and no-member
# pylint does not handle imports conditional on the python version properly.

# function-redefined
# typing.overload is not supported yet
# TODO: Remove this when https://github.com/PyCQA/pylint/issues/2239 is fixed



# 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
Expand Down

0 comments on commit 143cd64

Please sign in to comment.