Skip to content

Commit d9d6963

Browse files
[pre-commit.ci] pre-commit autoupdate (#340)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2) - [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.15.6](astral-sh/ruff-pre-commit@v0.14.11...v0.15.6) - [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.19.0](tox-dev/pyproject-fmt@v2.11.1...v2.19.0) - [github.com/abravalheri/validate-pyproject: v0.24.1 → v0.25](abravalheri/validate-pyproject@v0.24.1...v0.25) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7239462 commit d9d6963

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ repos:
1010
- id: trailing-whitespace
1111

1212
- repo: https://github.com/codespell-project/codespell
13-
rev: v2.4.1
13+
rev: v2.4.2
1414
hooks:
1515
- id: codespell # See pyproject.toml for args
1616
additional_dependencies:
1717
- tomli
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.14.11
20+
rev: v0.15.6
2121
hooks:
2222
- id: ruff-check
2323
args: [--fix]
2424
- id: ruff-format
2525

2626
- repo: https://github.com/tox-dev/pyproject-fmt
27-
rev: v2.11.1
27+
rev: v2.19.0
2828
hooks:
2929
- id: pyproject-fmt
3030

3131
- repo: https://github.com/abravalheri/validate-pyproject
32-
rev: v0.24.1
32+
rev: v0.25
3333
hooks:
3434
- id: validate-pyproject

pyproject.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ dependencies = [
4646
"django>=5",
4747
"typing-extensions>=4.15",
4848
]
49-
5049
optional-dependencies.sentry = [ "sentry-sdk~=2.19" ]
5150
optional-dependencies.valkey = [ "valkey>=6.0.2,<7" ]
5251
optional-dependencies.yaml = [ "pyyaml~=6.0", "types-pyyaml>=6.0.12.20250516" ]
@@ -68,11 +67,9 @@ dev = [
6867
"types-croniter>=6.0.0.20250411",
6968
]
7069

71-
[tool.hatch.build.targets.sdist]
72-
include = [ "scheduler" ]
73-
74-
[tool.hatch.build.targets.wheel]
75-
include = [ "scheduler" ]
70+
[tool.hatch]
71+
build.targets.sdist.include = [ "scheduler" ]
72+
build.targets.wheel.include = [ "scheduler" ]
7673

7774
[tool.ruff]
7875
line-length = 120
@@ -83,7 +80,6 @@ exclude = [
8380
"scheduler/migrations",
8481
"testproject",
8582
]
86-
8783
lint.select = [
8884
"A", # flake8-builtins
8985
"AIR", # Airflow
@@ -153,7 +149,7 @@ lint.per-file-ignores."scheduler/models/task.py" = [ "DJ001", "DJ012" ]
153149
lint.mccabe.max-complexity = 13
154150

155151
[tool.mypy]
156-
packages = [ 'scheduler' ]
152+
packages = [ "scheduler" ]
157153
exclude = [
158154
"scheduler/tests/.*\\.py",
159155
"scheduler/migrations/.*\\.py",

0 commit comments

Comments
 (0)