pylint duplicate code false positive
Pylint Similarities Config
Try changing the ignore-imports
in the similarities section of your pylintrc
config file.
Default pylintrc:
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=4
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=no