diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1dd39398..b0acf726 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,21 +22,21 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.8 + rev: v0.2.1 hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] - id: ruff-format - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.0 + rev: 24.1.1 hooks: - id: black types: [ file, python ] stages: [ commit ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.7.1 + rev: v1.8.0 hooks: - id: mypy exclude: ^tests/ diff --git a/app/db/migrations/versions/03c0f0f4b98e_first_empty_migration.py b/app/db/migrations/versions/03c0f0f4b98e_first_empty_migration.py index 74a1af54..37779d9b 100644 --- a/app/db/migrations/versions/03c0f0f4b98e_first_empty_migration.py +++ b/app/db/migrations/versions/03c0f0f4b98e_first_empty_migration.py @@ -5,6 +5,7 @@ Create Date: 2023-12-22 15:55:23.335330 """ + from typing import Sequence, Union from alembic import op diff --git a/app/db/migrations/versions/399d81bfa440_defining_the_database_structure.py b/app/db/migrations/versions/399d81bfa440_defining_the_database_structure.py index d5c87b7a..bfef7703 100644 --- a/app/db/migrations/versions/399d81bfa440_defining_the_database_structure.py +++ b/app/db/migrations/versions/399d81bfa440_defining_the_database_structure.py @@ -5,6 +5,7 @@ Create Date: 2023-12-22 15:57:31.889415 """ + from typing import Sequence, Union import fastapi_users_db_sqlalchemy from alembic import op