Skip to content

Commit

Permalink
Auto-update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy authored Feb 4, 2024
1 parent 0b05008 commit ce879cb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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$"
4 changes: 2 additions & 2 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[default.extend-words]
nd = "nd"
[default.extend - words]
nd = "nd"
1 change: 0 additions & 1 deletion src/datajudge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""datajudge allows to assess whether data from database complies with reference
information."""


import pkg_resources

from .constraints.base import Constraint
Expand Down
6 changes: 2 additions & 4 deletions src/datajudge/db_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,11 @@ def apply_patches(engine: sa.engine.Engine):


@overload
def lowercase_column_names(column_names: str) -> str:
...
def lowercase_column_names(column_names: str) -> str: ...


@overload
def lowercase_column_names(column_names: list[str]) -> list[str]:
...
def lowercase_column_names(column_names: list[str]) -> list[str]: ...


def lowercase_column_names(column_names: str | list[str]) -> str | list[str]:
Expand Down

0 comments on commit ce879cb

Please sign in to comment.