aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml29
1 files changed, 20 insertions, 9 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 44bb95c6..70662865 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,18 +28,11 @@ pydantic = { version = "1.10.7", extras = ["dotenv"]}
[tool.poetry.dev-dependencies]
-flake8 = "6.0.0"
-flake8-annotations = "3.0.0"
-flake8-bugbear = "23.3.23"
-flake8-docstrings = "1.7.0"
-flake8-string-format = "0.3.0"
-flake8-tidy-imports = "4.8.0"
-flake8-todo = "0.7"
-flake8-isort = "6.0.0"
-pep8-naming = "0.13.3"
+isort = "5.12.0"
pip-licenses = "4.3.1"
pre-commit = "3.3.1"
python-dotenv = "1.0.0"
+ruff = "0.0.265"
taskipy = "1.10.4"
[tool.taskipy.tasks]
@@ -60,3 +53,21 @@ combine_as_imports = true
line_length = 120
atomic = true
known_first_party = ["bot"]
+
+[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 = 120
+select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]