Skip to content

Commit

Permalink
isort config: set skip_gitignore = true (#337)
Browse files Browse the repository at this point in the history
This means `isort` won't try to fix everything in `site-packages` if you
have a virtual environment in an `env/` directory and are foolish enough
to run `isort .` locally 🙃
  • Loading branch information
AlexWaygood authored Jan 23, 2023
1 parent 4778623 commit 36051b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ path = "pyi.py"
profile = "black"
combine_as_imports = true
skip = ["tests/imports.pyi"]
skip_gitignore = true

[tool.black]
target-version = ['py37']
Expand Down

0 comments on commit 36051b7

Please # to comment.