Skip to content

Commit ecbbb5d

Browse files
dependabot[bot]MateoLostanlenclaude
authored
build(deps): bump the quality group across 1 directory with 4 updates (#677)
* build(deps): bump the quality group across 1 directory with 4 updates Bumps the quality group with 4 updates in the / directory: [ruff](https://github.com/astral-sh/ruff), [ty](https://github.com/astral-sh/ty), [prek](https://github.com/j178/prek) and [types-python-dateutil](https://github.com/python/typeshed). Updates `ruff` from 0.16.0 to 0.16.1 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.16.0...0.16.1) Updates `ty` from 0.0.65 to 0.0.69 - [Release notes](https://github.com/astral-sh/ty/releases) - [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md) - [Commits](astral-sh/ty@0.0.65...0.0.69) Updates `prek` from 0.4.11 to 0.4.12 - [Release notes](https://github.com/j178/prek/releases) - [Changelog](https://github.com/j178/prek/blob/master/CHANGELOG.md) - [Commits](j178/prek@v0.4.11...v0.4.12) Updates `types-python-dateutil` from 2.9.0.20260716 to 2.9.0.20260807 - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: quality - dependency-name: ty dependency-version: 0.0.69 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: quality - dependency-name: prek dependency-version: 0.4.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: quality - dependency-name: types-python-dateutil dependency-version: 2.9.0.20260807 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: quality ... Signed-off-by: dependabot[bot] <support@github.com> * fix(typing): ignore ty false positive on SelectOfScalar subscript Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mateo <mateo.lostanlen@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 2f1a40f commit ecbbb5d

3 files changed

Lines changed: 1405 additions & 1403 deletions

File tree

‎pyproject.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ server = [
4444
"pytz>=2024.1",
4545
]
4646
quality = [
47-
"ruff==0.16.0",
48-
"ty==0.0.65",
49-
"prek==0.4.11",
47+
"ruff==0.16.1",
48+
"ty==0.0.69",
49+
"prek==0.4.12",
5050
"types-requests>=2.33.0.20260712",
51-
"types-python-dateutil>=2.9.0.20260716,<3.0.0",
51+
"types-python-dateutil>=2.9.0.20260807,<3.0.0",
5252
"sqlalchemy-stubs>=0.4,<0.5",
5353
]
5454
test = [

‎src/app/api/api_v1/endpoints/alerts.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ def _serialize_alert(
147147

148148

149149
async def _serialize_alerts_page(
150-
session: AsyncSession, alerts_stmt: SelectOfScalar[Alert], seq_filter: Union[ColumnElement[bool], None]
150+
session: AsyncSession,
151+
alerts_stmt: SelectOfScalar[Alert], # ty: ignore[not-subscriptable]
152+
seq_filter: Union[ColumnElement[bool], None],
151153
) -> List[AlertReadWithSequences]:
152154
"""Run an alert-selecting statement and hydrate each row with its filtered sequences and detection counts."""
153155
alerts = list((await session.exec(alerts_stmt)).all())

0 commit comments

Comments
 (0)