1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-07 06:05:10 +01:00

Ruff config and such

This commit is contained in:
2024-02-11 21:24:46 +01:00
parent a3cdccdb8a
commit 0351760d3f

View File

@@ -48,8 +48,14 @@ exclude = [
"example_config/gunicorn_digimarks_conf.py",
"example_config/settings.py",
]
ignore = ["D203"]
line-length = 120
[tool.ruff.format]
# Prefer single quotes over double quotes
quote-style = "single"
[tool.ruff.lint]
ignore = ["D203", "D213"]
select = [
"C9",
"D",
@@ -58,14 +64,10 @@ select = [
"W",
]
[tool.ruff.flake8-quotes]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
multiline-quotes = "double"
[tool.ruff.format]
# Prefer single quotes over double quotes
quote-style = "single"
[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 10