summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2022-03-01 16:59:41 +0000
committerCarlton Gibson <carlton@noumenal.es>2022-03-09 14:51:13 +0100
commitfa948980341b43e76140ac78dcff30bf0bd65369 (patch)
treec59aca189cdaf2f3b8dc97d8059caedb7a0651a3 /pyproject.toml
parent93803a1b5f4a08eb064b4cc8b3834ff323be4065 (diff)
Refs #33476 -- Used black's force-exclude instead of extend-exclude.
When using `pre-commit run --all-files`, because the filename is passed explicitly, the file referred to in `extend-exclude` is not properly excluded. Use `force-exclude` instead to say we really mean it. See https://github.com/psf/black/issues/438.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 5fa4b365ed..21aa71dd2d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,4 +4,4 @@ build-backend = 'setuptools.build_meta:__legacy__'
[tool.black]
target-version = ['py38']
-extend-exclude = 'tests/test_runner_apps/tagged/tests_syntax_error.py'
+force-exclude = 'tests/test_runner_apps/tagged/tests_syntax_error.py'