moved ruff section

This commit is contained in:
Matthias Mair 2024-01-07 18:24:39 +01:00
parent d90c48a0bf
commit 0413350f14
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -14,6 +14,9 @@ exclude = [
] ]
src = ["../InvenTree"] src = ["../InvenTree"]
[tool.ruff.extend-per-file-ignores]
"__init__.py" = ["D104"]
[tool.ruff.lint] [tool.ruff.lint]
select = ["A", "B", "C4", "D", "DJ", "N", "S"] select = ["A", "B", "C4", "D", "DJ", "N", "S"]
# Things that should be enabled in the future: # Things that should be enabled in the future:
@ -66,8 +69,5 @@ inline-quotes = "double"
[tool.coverage.run] [tool.coverage.run]
source = "InvenTree" source = "InvenTree"
[tool.ruff.extend-per-file-ignores]
"__init__.py" = ["D104"]
[tool.djlint] [tool.djlint]
ignore = ["D018","H006","H008","H020","H021","H023","H025","H030","H031","T002"] ignore = ["D018","H006","H008","H020","H021","H023","H025","H030","H031","T002"]