Skip to content

Commit

Permalink
Exclude __pypackages__ by default (GH-2836)
Browse files Browse the repository at this point in the history
PDM uses this as part of not-accepted-yet PEP 582.
  • Loading branch information
JelleZijlstra committed Jan 30, 2022
1 parent bbe1bdf commit f61299a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.md
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/black/const.py
@@ -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__"

0 comments on commit f61299a

Please sign in to comment.