Skip to content

Commit 05acfd7

Browse files
authored
chore: Ruff settings in pyproject.toml (#245)
chore: Update pre-commit config
1 parent 92434f2 commit 05acfd7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
- -b main
2828
- id: trailing-whitespace
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: v0.8.6
30+
rev: v0.9.6
3131
hooks:
3232
- id: ruff
3333
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ yamllint = "^1.35.1"
3434
pytest = "^8.3.4"
3535

3636
[tool.ruff]
37-
fixable = ["ALL"]
3837
line-length = 120
38+
39+
[tool.ruff.lint]
40+
fixable = ["ALL"]
3941
select = [
4042
"D", # pydocstyle
4143
"E", # pycodestyle
@@ -46,5 +48,5 @@ select = [
4648
"UP", # pyupgrade
4749
]
4850

49-
[tool.ruff.pydocstyle]
51+
[tool.ruff.lint.pydocstyle]
5052
convention = "google"

0 commit comments

Comments
 (0)