From: Jim Brännlund Date: Thu, 29 Nov 2018 22:27:08 +0000 (+0100) Subject: Add .eggs to default exclusions (#629) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/55121195ce526aed2130c4df142b87e066744179 Add .eggs to default exclusions (#629) --- diff --git a/README.md b/README.md index b6218cf..7be8093 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,8 @@ Options: directories that should be excluded on recursive searches. On Windows, use forward slashes for directories. [default: - build/|buck-out/|dist/|_build/|\.git/|\.hg/| - \.mypy_cache/|\.nox/|\.tox/|\.venv/] + build/|buck-out/|dist/|_build/|\.eggs/|\.git/| + \.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/] -q, --quiet Don't emit non-error messages to stderr. Errors are still emitted, silence those with 2>/dev/null. @@ -573,7 +573,8 @@ py36 = true include = '\.pyi?$' exclude = ''' /( - \.git + \.eggs + | \.git | \.hg | \.mypy_cache | \.tox diff --git a/black.py b/black.py index fd0364b..c1cc080 100644 --- a/black.py +++ b/black.py @@ -51,7 +51,7 @@ from blib2to3.pgen2.parse import ParseError __version__ = "18.9b0" DEFAULT_LINE_LENGTH = 88 DEFAULT_EXCLUDES = ( - r"/(\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist)/" + r"/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist)/" ) DEFAULT_INCLUDES = r"\.pyi?$" CACHE_DIR = Path(user_cache_dir("black", version=__version__)) diff --git a/pyproject.toml b/pyproject.toml index 6ac19bc..fca5055 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,8 @@ py36 = true include = '\.pyi?$' exclude = ''' /( - \.git + \.eggs + | \.git | \.hg | \.mypy_cache | \.tox