|
@@ -85,14 +85,15 @@ build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
[tool.ruff]
|
|
|
target-version = "py39"
|
|
|
+output-format = "concise"
|
|
|
lint.isort.split-on-trailing-comma = false
|
|
|
-lint.select = ["B", "C4", "D", "E", "ERA", "F", "FURB", "I", "PTH", "RUF", "SIM", "W"]
|
|
|
+lint.select = ["B", "C4", "D", "E", "ERA", "F", "FURB", "I", "PERF", "PTH", "RUF", "SIM", "W"]
|
|
|
lint.ignore = ["B008", "D205", "E501", "F403", "SIM115", "RUF006", "RUF012"]
|
|
|
lint.pydocstyle.convention = "google"
|
|
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
|
"__init__.py" = ["F401"]
|
|
|
-"tests/*.py" = ["D100", "D103", "D104", "B018"]
|
|
|
+"tests/*.py" = ["D100", "D103", "D104", "B018", "PERF"]
|
|
|
"reflex/.templates/*.py" = ["D100", "D103", "D104"]
|
|
|
"*.pyi" = ["D301", "D415", "D417", "D418", "E742"]
|
|
|
"*/blank.py" = ["I001"]
|