Skip to content

Commit f38e5ef

Browse files
github-actions[bot]xhochykklein
authored
Auto-update pre-commit hooks (#203)
* Auto-update pre-commit hooks * Undo change in toml section name. * Don't format abstractmethod's '...'. --------- Co-authored-by: xhochy <xhochy@users.noreply.github.com> Co-authored-by: Kevin Klein <7267523+kklein@users.noreply.github.com> Co-authored-by: kklein <kevin.klein@quantco.com>
1 parent 2a02b7e commit f38e5ef

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: https://github.com/Quantco/pre-commit-mirrors-black
3-
rev: 23.12.1
3+
rev: 24.1.1
44
hooks:
55
- id: black-conda
66
args:
77
- --safe
88
- --target-version=py38
99
- repo: https://github.com/Quantco/pre-commit-mirrors-flake8
10-
rev: 6.1.0
10+
rev: 7.0.0
1111
hooks:
1212
- id: flake8-conda
1313
- repo: https://github.com/Quantco/pre-commit-mirrors-isort
@@ -27,7 +27,7 @@ repos:
2727
args:
2828
- --py38-plus
2929
- repo: https://github.com/Quantco/pre-commit-mirrors-typos
30-
rev: 1.16.26
30+
rev: 1.18.0
3131
hooks:
3232
- id: typos-conda
3333
exclude: "\\.csv$"

_typos.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[default.extend-words]
2-
nd = "nd"
2+
nd = "nd"

src/datajudge/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""datajudge allows to assess whether data from database complies with reference
22
information."""
33

4-
54
import pkg_resources
65

76
from .constraints.base import Constraint

src/datajudge/db_access.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ def apply_patches(engine: sa.engine.Engine):
7474

7575

7676
@overload
77-
def lowercase_column_names(column_names: str) -> str:
77+
def lowercase_column_names(column_names: str) -> str: # fmt: off
7878
...
7979

8080

8181
@overload
82-
def lowercase_column_names(column_names: list[str]) -> list[str]:
82+
def lowercase_column_names(column_names: list[str]) -> list[str]: # fmt: off
8383
...
8484

8585

0 commit comments

Comments
 (0)