Skip to content

Commit 7888967

Browse files
committed
fix ruff.
1 parent e5462bd commit 7888967

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.6
3+
rev: v0.16.3
44
hooks:
55
- id: ruff-check
66
files: ^(src/pynxtools_spm|tests)/.*\.py$

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
[project.optional-dependencies]
3939
dev = [
4040
"mypy",
41-
"ruff>=0.14.0",
41+
"ruff>=0.16.3",
4242
"pytest",
4343
"pre-commit"
4444
]
@@ -86,6 +86,7 @@ lint.ignore = [
8686
"PLR0912", # Too many branches
8787
"PLR0913", # Too many arguments in function definition
8888
"PLR0915", # Too many statements
89+
"PLR0917", # Too many positional arguments
8990
"PLR2004", # Magic value used instead of constant
9091
"PLW0603", # Using the global statement
9192
"PLW2901", # redefined-loop-name

0 commit comments

Comments
 (0)