Skip to content

Commit f4d806f

Browse files
committed
chore(deps): update ruff to 0.15.8 and add rattle tooling
1 parent 8506096 commit f4d806f

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

template/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: check-toml
99

1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.14.2
11+
rev: v0.15.8
1212
hooks:
1313
- id: ruff-check
1414
args: [--fix, --exit-zero]

template/pyproject.toml.jinja

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,17 @@ keywords = [
6363
]
6464

6565
[project.optional-dependencies]
66-
test = ["pytest", "coverage"]
67-
dev = ["pytest", "coverage", "ruff", "pre-commit", "mypy", "codespell"]
66+
test = ["pytest>=8.4.2", "coverage>=7.13.1"]
67+
dev = [
68+
"pytest>=8.4.2",
69+
"coverage>=7.13.1",
70+
"ruff==0.15.8",
71+
"pre-commit>=4.5.1",
72+
"mypy>=1.19.1",
73+
"codespell>=2.4.1",
74+
"rattle-lint>=1.0.4",
75+
"rattle-blank-lines>=0.2.2",
76+
]
6877

6978
[project.urls]
7079
Repository = "{{ repository_url }}"
@@ -125,6 +134,11 @@ warn_unused_configs = true
125134
strict_equality = true
126135
ignore_missing_imports = true
127136

137+
[tool.rattle]
138+
root = true
139+
enable = ["rattle_blank_lines.rules"]
140+
disable = ["rattle.rules"]
141+
128142
[tool.ruff]
129143
line-length = 100
130144

0 commit comments

Comments
 (0)