mirror of
https://github.com/django/django.git
synced 2024-11-28 10:48:32 +01:00
fa94898034
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.
8 lines
219 B
TOML
8 lines
219 B
TOML
[build-system]
|
|
requires = ['setuptools>=40.8.0', 'wheel']
|
|
build-backend = 'setuptools.build_meta:__legacy__'
|
|
|
|
[tool.black]
|
|
target-version = ['py38']
|
|
force-exclude = 'tests/test_runner_apps/tagged/tests_syntax_error.py'
|