Skip to content

Commit 826fcc1

Browse files
committed
refactor(config): update dependencies and dev tools versions
Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent fd6f579 commit 826fcc1

File tree

3 files changed

+299
-150
lines changed

3 files changed

+299
-150
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
77
- id: check-toml
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.6.8
9+
rev: v0.14.10
1010
hooks:
1111
# Run the linter.
1212
- id: ruff
1313
# Run the formatter.
1414
- id: ruff-format
1515
- repo: https://github.com/pre-commit/mirrors-mypy
16-
rev: v1.11.2
16+
rev: v1.19.1
1717
hooks:
1818
- id: mypy
1919
files: ^(src/cloudevents/|tests/)
2020
exclude: ^(src/cloudevents/v1/)
2121
types: [python]
2222
args: ["--config-file=pyproject.toml"]
2323
additional_dependencies:
24-
- types-python-dateutil>=2.9.0.20241003
24+
- types-python-dateutil>=2.9.0.20251115

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ keywords = [
3232
"Serverless",
3333
]
3434
dependencies = [
35-
"ruff>=0.6.8",
3635
"python-dateutil>=2.8.2",
3736
]
3837

@@ -47,15 +46,16 @@ build-backend = "hatchling.build"
4746

4847
[dependency-groups]
4948
dev = [
50-
"pytest>=8.3.3",
51-
"mypy>=1.11.2",
52-
"isort>=5.13.2",
53-
"flake8>=7.1.1",
54-
"pep8-naming>=0.14.1",
49+
"ruff>=0.14.10",
50+
"pytest>=9.0.2",
51+
"mypy>=1.19.1",
52+
"isort>=7.0.0",
53+
"flake8>=7.3.0",
54+
"pep8-naming>=0.15.1",
5555
"flake8-print>=5.0.0",
56-
"pre-commit>=3.8.0",
57-
"pytest-cov>=5.0.0",
58-
"types-python-dateutil>=2.9.0.20241003",
56+
"pre-commit>=4.5.1",
57+
"pytest-cov>=7.0.0",
58+
"types-python-dateutil>=2.9.0.20251115",
5959
]
6060

6161
[tool.uv.pip]

0 commit comments

Comments
 (0)