Commit 55121195 authored by Jim Brännlund's avatar Jim Brännlund Committed by Jelle Zijlstra
Browse files

Add .eggs to default exclusions (#629)

parent 4809e365
Loading
Loading
Loading
Loading
+4 −3
Changes for README.md: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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
+1 −1
Changes for black.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
__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__))
+2 −1
Changes for pyproject.toml: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -11,7 +11,8 @@ py36 = true
include = '\.pyi?$'
exclude = '''
/(
    \.git
    \.eggs
  | \.git
  | \.hg
  | \.mypy_cache
  | \.tox