Skip to content

Commit 25f3226

Browse files
committed
chore: add more pre-commit hooks
1 parent 72e6eea commit 25f3226

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,28 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v2.4.0
5+
rev: v6.0.0
66
hooks:
77
- id: check-ast
88
- id: trailing-whitespace
99
- id: check-toml
1010
- id: end-of-file-fixer
1111

1212
- repo: https://github.com/asottile/add-trailing-comma
13-
rev: v2.1.0
13+
rev: v4.0.0
1414
hooks:
1515
- id: add-trailing-comma
1616

17+
- repo: https://github.com/crate-ci/typos
18+
rev: v1.38.1
19+
hooks:
20+
- id: typos
21+
22+
- repo: https://github.com/Yelp/detect-secrets
23+
rev: v1.5.0
24+
hooks:
25+
- id: detect-secrets
26+
1727
- repo: local
1828
hooks:
1929
- id: black

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ dependencies = ["taskiq>=0.8.0", "fastapi>=0.93.0"]
2828
[dependency-groups]
2929
dev = [
3030
"pre-commit>=4.4.0",
31-
# lint
31+
# lint
3232
"ruff>=0.14.5",
3333
"black>=25.11.0",
34-
# type check
34+
# type check
3535
"mypy>=1.18.2",
36-
# tests
36+
# tests
3737
"pytest>=9.0.1",
3838
"pytest-cov>=7.0.0",
3939
"coverage>=7.11.3",

taskiq_fastapi/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""FastAPI integration for Taskiq project."""
2+
23
from taskiq_fastapi.initializator import init, populate_dependency_context
34

45
__all__ = ["init", "populate_dependency_context"]

uv.lock

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

0 commit comments

Comments
 (0)