Sort DEFAULT_EXCLUDES and add .vscode, .pytest_cache and .ruff_cache (#3691)
Co-authored-by: Ray Bell <ray.bell@dtn.com>
This commit is contained in:
parent
dc188f2060
commit
db3668a381
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
<!-- Changes to how Black can be configured -->
|
<!-- Changes to how Black can be configured -->
|
||||||
|
|
||||||
|
- `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default (#3691)
|
||||||
|
|
||||||
### Packaging
|
### Packaging
|
||||||
|
|
||||||
<!-- Changes to how Black is packaged, such as dependency requirements -->
|
<!-- Changes to how Black is packaged, such as dependency requirements -->
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
DEFAULT_LINE_LENGTH = 88
|
DEFAULT_LINE_LENGTH = 88
|
||||||
DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|\.ipynb_checkpoints|_build|buck-out|build|dist|__pypackages__)/" # noqa: B950
|
DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.ipynb_checkpoints|\.mypy_cache|\.nox|\.pytest_cache|\.ruff_cache|\.tox|\.svn|\.venv|\.vscode|__pypackages__|_build|buck-out|build|dist|venv)/" # noqa: B950
|
||||||
DEFAULT_INCLUDES = r"(\.pyi?|\.ipynb)$"
|
DEFAULT_INCLUDES = r"(\.pyi?|\.ipynb)$"
|
||||||
STDIN_PLACEHOLDER = "__BLACK_STDIN_FILENAME__"
|
STDIN_PLACEHOLDER = "__BLACK_STDIN_FILENAME__"
|
||||||
|
Loading…
Reference in New Issue
Block a user