Skip to content

Auto formatting includes '.venv' directory #1370

@charliebudd

Description

@charliebudd

Describe the bug
flake8 and isort are configured to ignore 'venv' not the also common '.venv' directory leading to false fails and corrupted virtual environments

To Reproduce
Steps to reproduce the behavior:

  1. Setup dev environment with a virtual environment named '.venv'
  2. run './runtests.sh --codeformat --nounittests'
  3. tests will fail due to files in in the virtual environment folder

Expected behavior
virtual environment folder ignored by flake8 and isort

Additional context
'.venv' is a common naming convention and is skipped by isorts default settings...
https://pycqa.github.io/isort/docs/configuration/options/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions