Skip to content

site-packages in .venv directory aren't ignored by linter #3947

@russelldavis

Description

@russelldavis

There's a default ignore pattern (**/site-packages/**/*.py) that's supposed to take of this, but it doesn't match files/dirs that start with a dot. This affects a lot of python projects (including this one -- Contributing.md recommends using that name), since .venv is a standard name for the virtualenv dir.

There's a simple fix (#3948)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-lintingbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions