36 lines
556 B
TOML
Executable File
36 lines
556 B
TOML
Executable File
line-length = 120
|
|
unsafe-fixes = true
|
|
cache-dir = ".ruff_cache"
|
|
target-version = "py310"
|
|
|
|
[lint]
|
|
select = [
|
|
"E",
|
|
"F",
|
|
"W505",
|
|
"SIM101",
|
|
"SIM114",
|
|
"PGH004",
|
|
"PLE1142",
|
|
"RUF100",
|
|
"I002",
|
|
"F404",
|
|
"TC",
|
|
"UP007"
|
|
]
|
|
preview = true
|
|
|
|
[lint.isort]
|
|
lines-between-types = 1
|
|
order-by-type = true
|
|
|
|
[lint.per-file-ignores]
|
|
"**/api/v1/*.py" = ["TC"]
|
|
"**/model/*.py" = ["TC003"]
|
|
"**/model/__init__.py" = ["F401"]
|
|
|
|
[format]
|
|
preview = true
|
|
quote-style = "single"
|
|
docstring-code-format = true
|