File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,9 +11,28 @@ target-version = ["py310"]
1111skip-magic-trailing-comma = true
1212preview = true
1313
14+ # Override `exclude` so that the `stdlib/venv` directory is not excluded
15+ # if you invoke Black "manually" (not using pre-commit). `venv` is one of
16+ # the directories that Black excludes by default if `tool.black.exclude`
17+ # is not set. See https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#exclude
18+ exclude = '''
19+ /(
20+ \.env|
21+ \.venv|
22+ env|
23+ \.git|
24+ \.mypy_cache
25+ )/
26+ '''
27+
1428[tool .ruff ]
1529line-length = 130
1630fix = true
31+
32+ # Override `exclude` so that the `stdlib/venv` directory is not excluded
33+ # if you invoke Ruff "manually" (not using pre-commit). `venv` is one of
34+ # the directories that Ruff excludes by default if `tool.ruff.exclude`
35+ # is not set. See https://docs.astral.sh/ruff/configuration/
1736exclude = [
1837 # virtual environment
1938 " .env" ,
You can’t perform that action at this time.
0 commit comments