aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-05-04 13:29:28 +0100
committerGravatar GitHub <[email protected]>2023-05-04 13:29:28 +0100
commitb0c3fee4505782559072bd2e6bf0b651b04cde6c (patch)
tree31e7d7954a2ced4a7fa445401e26f5a60a49ec4d /pyproject.toml
parentbuild(deps-dev): bump ruff from 0.0.263 to 0.0.264 (#56) (diff)
parentUpdate lint workflow to use pre-commit (diff)
Merge pull request #47 from python-discord/add-pre-commit-hooks
Add pre commit hooks
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 963545e..5ad2d34 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -13,7 +13,7 @@ pydis-core = "9.5.1"
pydantic = {extras = ["dotenv"], version = "1.10.7"}
loguru = "0.7.0"
-kubernetes_asyncio = "24.2.2"
+kubernetes_asyncio = "24.2.3"
tabulate = {extras = ["widechars"], version = "0.9.0"}
jishaku = "2.5.1"
@@ -22,12 +22,14 @@ black = "23.3.0"
isort = "5.12.0"
taskipy = "1.10.4"
ruff = "0.0.264"
+pre-commit = "3.3.1"
[tool.taskipy.tasks]
start = "python -m arthur"
-lint = "ruff"
+lint = "pre-commit run --all-files"
format = "black arthur"
+precommit = "pre-commit install"
[build-system]
requires = ["poetry-core>=1.0.0"]
@@ -56,4 +58,4 @@ ignore = [
"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
+select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]