Exclude __pypackages__ by default (GH-2836)

PDM uses this as part of not-accepted-yet PEP 582.
This commit is contained in:
Jelle Zijlstra 2022-01-30 12:01:56 -08:00 committed by GitHub
parent bbe1bdf1ed
commit f61299a62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Change Log
## Unreleased
### Configuration
- Do not format `__pypackages__` directories by default (#2836)
## 22.1.0
At long last, _Black_ is no longer a beta product! This is the first non-beta release

View File

@ -1,4 +1,4 @@
DEFAULT_LINE_LENGTH = 88
DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|_build|buck-out|build|dist)/" # noqa: B950
DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|_build|buck-out|build|dist|__pypackages__)/" # noqa: B950
DEFAULT_INCLUDES = r"(\.pyi?|\.ipynb)$"
STDIN_PLACEHOLDER = "__BLACK_STDIN_FILENAME__"