Skip to content

Commit a3d901c

Browse files
committed
update ruff and fix issues
1 parent 2c8a382 commit a3d901c

7 files changed

Lines changed: 1849 additions & 1456 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
# files: ^renovate\.json$
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: v0.9.7
21+
rev: v0.11.7
2222
hooks:
2323
- id: ruff
2424
name: "lint with ruff"
@@ -35,7 +35,7 @@ repos:
3535

3636
- repo: https://github.com/astral-sh/uv-pre-commit
3737
# uv version.
38-
rev: 0.6.2
38+
rev: 0.6.17
3939
hooks:
4040
# Update the uv lockfile
4141
- id: uv-lock

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ build-backend = "hatchling.build"
7777
# setup PoeThePoet tasks
7878
pre.cmd = "pre-commit run --all-files"
7979
pre.help = "Run pre-commit checks"
80-
mypy.cmd = "mypy --config-file pyproject.toml uprn_mangle/backend/**/*.py tests/**/*.py --strict"
80+
mypy.cmd = "mypy --config-file pyproject.toml . --strict"
8181
mypy.help = "Run mypy checks"
8282
format.cmd = "ruff format ."
8383
format.help = "Format code with Ruff"

0 commit comments

Comments
 (0)