Skip to content

False negative duplicate-code when similarities are in the same file #1457

Open
@onilton

Description

Steps to reproduce

  1. Create a file with repeated code: code.py
  2. pylint --disable=all --enable=similarities code.py

Current behavior

Do not show code repeated in the same file,

Expected behavior

Show code repeated in the same file.

pylint --version output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentFalse Negative 🦋No message is emitted but something is wrong with the codeHelp wanted 🙏Outside help would be appreciated, good for new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationduplicate-codeRelated to code duplication checker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions