aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml63
1 files changed, 43 insertions, 20 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 5c4ebaf0..641fda7f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,37 +34,30 @@ aiodns = "3.0.0"
async-rediscache = ["async-rediscache"]
[tool.poetry.group.dev.dependencies]
-taskipy = "1.10.3"
+taskipy = "1.11.0"
python-dotenv = "1.0.0"
[tool.poetry.group.test.dependencies]
-pytest = "7.2.1"
-pytest-cov = "4.0.0"
-pytest-xdist = "3.2.0"
+pytest = "7.3.1"
+pytest-cov = "4.1.0"
+pytest-xdist = "3.3.1"
[tool.poetry.group.lint.dependencies]
-flake8 = "6.0.0"
-flake8-annotations = "3.0.0"
-flake8-bugbear = "23.2.13"
-flake8-docstrings = "1.7.0"
-flake8-import-order = "0.18.2"
-flake8-string-format = "0.3.0"
-flake8-tidy-imports = "4.8.0"
-flake8-todo = "0.7"
-pep8-naming = "0.13.3"
-pre-commit = "3.1.1"
-typing-extensions = "4.5.0"
+isort = "5.12.0"
+ruff = "0.0.270"
+pre-commit = "3.3.2"
+typing-extensions = "4.6.2"
[tool.poetry.group.doc.dependencies]
-Sphinx = "6.1.3"
+Sphinx = "7.0.1"
GitPython = "3.1.31"
-sphinx-autodoc-typehints = "1.22"
-furo = "2022.12.7"
+sphinx-autodoc-typehints = "1.23.0"
+furo = "2023.5.20"
six = "1.16.0"
-releases = "2.1.0"
+releases = "2.1.1"
sphinx-multiversion = "0.2.4"
docstring-parser = "0.15"
-typing-extensions = "4.5.0"
+typing-extensions = "4.6.2"
tomli = "2.0.1"
[tool.taskipy.tasks]
@@ -82,3 +75,33 @@ build-backend = "poetry.core.masonry.api"
branch = true
source_pkgs = ["pydis_core"]
source = ["tests"]
+
+[tool.isort]
+multi_line_output = 6
+order_by_type = false
+case_sensitive = true
+combine_as_imports = true
+line_length = 120
+atomic = true
+known_first_party = ["dev", "pydis_core", "docs"]
+
+[tool.ruff]
+target-version = "py310"
+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"]
+
+[tool.ruff.per-file-ignores]
+"tests/*" = ["ANN", "D"]