diff options
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/pyproject.toml b/pyproject.toml index 28970e5..794755d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,31 +12,48 @@ python = "3.10.*" pydis-core = "9.5.1" pydantic = {extras = ["dotenv"], version = "1.10.7"} -loguru = "0.6.0" +loguru = "0.7.0" kubernetes_asyncio = "24.2.2" tabulate = {extras = ["widechars"], version = "0.9.0"} jishaku = "2.5.1" [tool.poetry.dev-dependencies] -flake8 = "6.0.0" -flake8-annotations = "3.0.0" -flake8-bandit = "4.1.1" -flake8-docstrings = "1.7.0" -flake8-isort = "6.0.0" - black = "23.3.0" -taskipy = "1.10.4" isort = "5.12.0" +taskipy = "1.10.4" +ruff = "0.0.263" [tool.taskipy.tasks] start = "python -m arthur" -lint = "flake8" +lint = "ruff" format = "black arthur" -[tool.black] -line-length = 100 - [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.black] +line-length = 100 + +[tool.isort] +profile = "black" +line_length = 120 + +[tool.ruff] +target-version = "py311" +extend-exclude = [".cache"] +ignore = [ + "ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401", + "B904", + "C401", "C408", + "D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D301", + "D400", "D401", "D402", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416", "D417", + "E731", + "RET504", + "RUF005", + "S311", + "SIM102", "SIM108", +] +line-length = 100 +select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]
\ No newline at end of file |