diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e6fa1c1..19375bb0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: - repo: https://github.com/Quantco/pre-commit-mirrors-black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black-conda args: - --safe - --target-version=py38 - repo: https://github.com/Quantco/pre-commit-mirrors-flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8-conda - repo: https://github.com/Quantco/pre-commit-mirrors-isort @@ -27,7 +27,7 @@ repos: args: - --py38-plus - repo: https://github.com/Quantco/pre-commit-mirrors-typos - rev: 1.16.26 + rev: 1.18.0 hooks: - id: typos-conda exclude: "\\.csv$" diff --git a/_typos.toml b/_typos.toml index 6a371c53..3505d21e 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,2 +1,2 @@ [default.extend-words] -nd = "nd" \ No newline at end of file +nd = "nd" diff --git a/src/datajudge/__init__.py b/src/datajudge/__init__.py index c2d6c207..546a1198 100644 --- a/src/datajudge/__init__.py +++ b/src/datajudge/__init__.py @@ -1,7 +1,6 @@ """datajudge allows to assess whether data from database complies with reference information.""" - import pkg_resources from .constraints.base import Constraint diff --git a/src/datajudge/db_access.py b/src/datajudge/db_access.py index e7733326..a3d371f0 100644 --- a/src/datajudge/db_access.py +++ b/src/datajudge/db_access.py @@ -74,12 +74,12 @@ def apply_patches(engine: sa.engine.Engine): @overload -def lowercase_column_names(column_names: str) -> str: +def lowercase_column_names(column_names: str) -> str: # fmt: off ... @overload -def lowercase_column_names(column_names: list[str]) -> list[str]: +def lowercase_column_names(column_names: list[str]) -> list[str]: # fmt: off ...