Skip to content

Commit

Permalink
Add the direnv base directory to the default excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
offbyone committed Jul 28, 2020
1 parent 537ea8d commit 7fea1b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ Multiple contributions by:
- [Christian Clauss](mailto:[email protected])
- [Christian Heimes](mailto:[email protected])
- [Chuck Wooters](mailto:[email protected])
- [Chris Rose](mailto:[email protected])
- Codey Oxley
- [Cong](mailto:[email protected])
- [Cooper Ry Lees](mailto:[email protected])
Expand Down
2 changes: 1 addition & 1 deletion src/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
import colorama # noqa: F401

DEFAULT_LINE_LENGTH = 88
DEFAULT_EXCLUDES = r"/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist)/" # noqa: B950
DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist)/" # noqa: B950
DEFAULT_INCLUDES = r"\.pyi?$"
CACHE_DIR = Path(user_cache_dir("black", version=__version__))

Expand Down

0 comments on commit 7fea1b9

Please sign in to comment.