Skip to content

Commit 4206ea0

Browse files
Merge pull request #953 from uriyyo/dependabot/pip/ruff-0.1.8
[no ci]
2 parents eb02995 + b37eef0 commit 4206ea0

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

fastapi_pagination/ext/sqlalchemy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def count_query(query: Select, *, use_subquery: bool = True) -> Select:
6666
if use_subquery:
6767
return select(func.count()).select_from(query.subquery())
6868

69-
return query.with_only_columns( # noqa: PIE804
69+
return query.with_only_columns( # type: ignore[call-arg] # noqa: PIE804
7070
func.count(),
71-
**{"maintain_column_froms": True},
71+
maintain_column_froms=True,
7272
)
7373

7474

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ requests = "^2.31.0"
6262
uvicorn = "^0.24.0"
6363
Jinja2 = "^3.1.2"
6464
mypy = "^1.7.1"
65-
ruff = "^0.1.7"
65+
ruff = "^0.1.8"
6666

6767
[tool.poetry.extras]
6868
sqlmodel = ["sqlmodel", "sqlakeyset"]

0 commit comments

Comments
 (0)