Skip to content

Commit f77d51c

Browse files
authored
chore: update dev tooling and sync pre-commit with dependencies
1 parent 65a3c11 commit f77d51c

4 files changed

Lines changed: 275 additions & 175 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install Poetry
2525
uses: snok/install-poetry@v1
2626
with:
27-
version: 2.3.4
27+
version: 2.4.1
2828
virtualenvs-create: true
2929
virtualenvs-in-project: true
3030

@@ -60,7 +60,7 @@ jobs:
6060
- name: Install Poetry
6161
uses: snok/install-poetry@v1
6262
with:
63-
version: 2.3.4
63+
version: 2.4.1
6464
virtualenvs-create: true
6565
virtualenvs-in-project: true
6666

.pre-commit-config.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
repos:
2+
- repo: https://github.com/python-poetry/poetry
3+
rev: "2.4.1"
4+
hooks:
5+
- id: poetry-check # validate pyproject.toml structure
6+
- id: poetry-lock # fail if poetry.lock is out of sync with pyproject.toml
7+
28
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
9+
rev: v6.0.0
410
hooks:
511
- id: trailing-whitespace
612
- id: end-of-file-fixer
@@ -12,14 +18,14 @@ repos:
1218
- id: debug-statements
1319

1420
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.9.10
21+
rev: v0.15.17
1622
hooks:
17-
- id: ruff
23+
- id: ruff-check
1824
args: [--fix]
1925
- id: ruff-format
2026

2127
- repo: https://github.com/pre-commit/mirrors-mypy
22-
rev: v1.14.1
28+
rev: v2.1.0
2329
hooks:
2430
- id: mypy
2531
args: [--ignore-missing-imports]
@@ -29,13 +35,13 @@ repos:
2935
- httpx
3036

3137
- repo: https://github.com/codespell-project/codespell
32-
rev: v2.3.0
38+
rev: v2.4.2
3339
hooks:
3440
- id: codespell
3541
args: [--skip, "*.lock,*.json"]
3642

3743
- repo: https://github.com/PyCQA/bandit
38-
rev: 1.8.3
44+
rev: 1.9.4
3945
hooks:
4046
- id: bandit
4147
args: [-c, pyproject.toml]

0 commit comments

Comments
 (0)