We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2522037 commit 5d5eaa3Copy full SHA for 5d5eaa3
.pre-commit-config.yaml
@@ -1,7 +1,7 @@
1
repos:
2
- repo: https://github.com/astral-sh/ruff-pre-commit
3
# Ruff version.
4
- rev: v0.12.0
+ rev: v0.14.0
5
hooks:
6
# Run the linter.
7
- id: ruff
pyproject.toml
@@ -57,7 +57,7 @@ docs = [
57
]
58
dev = [
59
"mypy",
60
- "ruff>=0.12.0",
+ "ruff>=0.14.0",
61
"pytest",
62
"pytest-timeout",
63
"pytest-cov",
src/pynxtools/nomad/parser.py
@@ -66,7 +66,7 @@ def _to_group_name(nx_node: ET.Element):
66
def _to_section(
67
hdf_name: str | None,
68
nx_def: str,
69
- nx_node: ET.Element | None,
+ nx_node: Optional[ET.Element], # noqa: UP045
70
current: MSection,
71
nx_root,
72
) -> MSection:
0 commit comments