Skip to content

Commit f61299a

Browse files
Exclude __pypackages__ by default (GH-2836)
PDM uses this as part of not-accepted-yet PEP 582.
1 parent bbe1bdf commit f61299a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## Unreleased
4+
5+
### Configuration
6+
7+
- Do not format `__pypackages__` directories by default (#2836)
8+
39
## 22.1.0
410

511
At long last, _Black_ is no longer a beta product! This is the first non-beta release

src/black/const.py

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

0 commit comments

Comments
 (0)