Skip to content

Commit 6526876

Browse files
author
Tom Nijboer
committed
ci: enable black again
1 parent 2951d2d commit 6526876

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949
hooks:
5050
- id: mypy
5151
types: [python]
52-
additional_dependencies: [types-requests]
52+
additional_dependencies: [types-requests, types-dateparser, types-PyMySQL]
5353
stages: ["pre-commit"]
5454
- repo: https://github.com/psf/black
5555
rev: 25.1.0
@@ -67,11 +67,6 @@ repos:
6767
args:
6868
- --diff
6969
# Run the formatter.
70-
- id: ruff-format
71-
stages: ["pre-commit"]
72-
args:
73-
- --diff
74-
- --check
7570
- repo: local
7671
hooks:
7772
- id: pytest

poetry.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,11 @@ line-length = 120
6363
# to match your Ruff config.
6464
skip-magic-trailing-comma = false
6565
preview = true
66+
67+
[tool.mypy]
68+
python_version = "3.11"
69+
70+
exclude = [
71+
".*_test\\.py$"
72+
]
73+

0 commit comments

Comments
 (0)