add Autoflake linting

This commit is contained in:
ducklet 2023-02-03 22:10:11 +01:00
parent 418116afac
commit 8e1988eea2
3 changed files with 41 additions and 8 deletions

View file

@ -14,12 +14,7 @@ starlette = "^0.23.1"
ulid-py = "^1.1.0"
databases = {extras = ["sqlite"], version = "^0.7.0"}
uvicorn = "^0.20.0"
# [tool.poetry.group.fixes.dependencies]
# # `databases` is having issues with new versions of SQLAlchemy 1.4,
# # and `greenlet` is also always a pain.
# SQLAlchemy = "1.4.25"
# greenlet = "1.1.2"
autoflake = "^2.0.1"
[tool.poetry.group.dev]
optional = true
@ -37,3 +32,13 @@ 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
ignore-init-module-imports = true
ignore-pass-after-docstring = true