|
@@ -93,13 +93,13 @@ build-backend = "poetry.core.masonry.api"
|
|
|
[tool.ruff]
|
|
|
target-version = "py39"
|
|
|
lint.isort.split-on-trailing-comma = false
|
|
|
-lint.select = ["B", "D", "E", "F", "I", "SIM", "W"]
|
|
|
+lint.select = ["B", "D", "E", "F", "I", "SIM", "W", "S101"]
|
|
|
lint.ignore = ["B008", "D205", "E501", "F403", "SIM115"]
|
|
|
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", "S101"]
|
|
|
"reflex/.templates/*.py" = ["D100", "D103", "D104"]
|
|
|
"*.pyi" = ["D301", "D415", "D417", "D418", "E742"]
|
|
|
"*/blank.py" = ["I001"]
|