switch from black/isort/autoflake to ruff

This commit is contained in:
ducklet 2023-11-26 15:10:16 +01:00
parent b5a93cb92f
commit 7665dfe769
4 changed files with 39 additions and 141 deletions

View file

@ -20,13 +20,11 @@ sqlalchemy = {version = "^1.4", extras = ["aiosqlite"]}
optional = true
[tool.poetry.group.dev.dependencies]
autoflake = "*"
pytest = "*"
pyright = "*"
black = "*"
isort = "*"
pytest-asyncio = "*"
pytest-cov = "*"
ruff = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
@ -35,12 +33,7 @@ build-backend = "poetry.core.masonry.api"
[tool.pyright]
pythonVersion = "3.11"
[tool.isort]
profile = "black"
[tool.autoflake]
remove-duplicate-keys = true
remove-unused-variables = true
remove-all-unused-imports = true
[tool.ruff]
target-version = "py311"
ignore-init-module-imports = true
ignore-pass-after-docstring = true
select = ["I", "F401", "F601", "F602", "F841"]