Switch Ruff setting from exclude to extend-exclude

This commit is contained in:
Bruno Alla 2024-08-15 16:35:23 +02:00
parent a5e6a1521f
commit 322d53d09a
No known key found for this signature in database

View File

@ -60,30 +60,9 @@ indent_size = 2
[tool.ruff] [tool.ruff]
# Exclude a variety of commonly ignored directories. # Exclude a variety of commonly ignored directories.
exclude = [ extend-exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"*/migrations/*.py", "*/migrations/*.py",
"staticfiles/*" "staticfiles/*",
] ]
# Same as Django: https://github.com/cookiecutter/cookiecutter-django/issues/4792. # Same as Django: https://github.com/cookiecutter/cookiecutter-django/issues/4792.
line-length = 88 line-length = 88