summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-03-05 23:07:49 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-03-05 23:07:49 -0800
commit2eb32642ab649ebec9e02b0bab587f0a888914b4 (patch)
tree6c1e48c747d436015bdf40e24f0c4ded8917dfc1
parentea62412a99db552406f2652874f0acfec3d2af7a (diff)
downloadisort-2eb32642ab649ebec9e02b0bab587f0a888914b4.tar.gz
Skip pants.d by default
-rw-r--r--isort/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/settings.py b/isort/settings.py
index 4ef68f1a..ea22a74a 100644
--- a/isort/settings.py
+++ b/isort/settings.py
@@ -58,7 +58,7 @@ MAX_CONFIG_SEARCH_DEPTH = 25 # The number of parent directories isort will look
DEFAULT_SECTIONS = ('FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER')
safety_exclude_re = re.compile(
- r"/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist|lib/python[0-9].[0-9]+)/"
+ r"/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist|.pants.d|lib/python[0-9].[0-9]+)/"
)
WrapModes = ('GRID', 'VERTICAL', 'HANGING_INDENT', 'VERTICAL_HANGING_INDENT', 'VERTICAL_GRID', 'VERTICAL_GRID_GROUPED',