Skip to content

Commit 40b8f9c

Browse files
committed
update ruff and fix new linting issues
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent 4b52b43 commit 40b8f9c

6 files changed

Lines changed: 27 additions & 27 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.10
21+
rev: v0.11.2
2222
hooks:
2323
- id: ruff
2424
args: ["--output-format=concise"]
@@ -37,7 +37,7 @@ repos:
3737

3838
- repo: https://github.com/astral-sh/uv-pre-commit
3939
# uv version.
40-
rev: 0.6.6
40+
rev: 0.6.9
4141
hooks:
4242
# Update the uv lockfile
4343
- id: uv-lock

app/managers/email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Define the Email Manager.""" # noqa: A005
1+
"""Define the Email Manager."""
22

33
from __future__ import annotations
44

app/resources/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,4 @@ async def search_users(
181181
exact_match=exact_match,
182182
)
183183
# Use cast to help mypy understand the return type
184-
return cast(Page[UserResponse], await paginate(db, query))
184+
return cast("Page[UserResponse]", await paginate(db, query))

app/schemas/email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Define email Connection Schema.""" # noqa: A005
1+
"""Define email Connection Schema."""
22

33
from typing import Any
44

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ requests==2.32.3
125125
rich==13.9.4
126126
rich-toolkit==0.13.2
127127
rtoml==0.12.0
128-
ruff==0.9.10
128+
ruff==0.11.2
129129
shellingham==1.5.4
130130
simple-toml-settings==0.9.0
131131
six==1.17.0

uv.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)