Skip to content

Commit

Permalink
Dependencies: Update pre-commit dependencies (#6243)
Browse files Browse the repository at this point in the history
* `pre-commit-hooks`: v4.4.0 → v4.5.0
* `ruff`: v0.1.3 → v0.1.9
* `language-formatters-pre-commit-hooks`: v2.11.0 → v2.12.0
  • Loading branch information
pre-commit-ci[bot] committed Jan 3, 2024
1 parent 80117f8 commit 8dfab0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-yaml
Expand All @@ -30,7 +30,7 @@ repos:
args: [--line-length=120, --fail-on-change]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.3
rev: v0.1.9
hooks:
- id: ruff-format
exclude: &exclude_ruff >
Expand All @@ -43,7 +43,7 @@ repos:
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.11.0
rev: v2.12.0
hooks:
- id: pretty-format-toml
args: [--autofix]
Expand Down
2 changes: 1 addition & 1 deletion src/aiida/tools/visualization/graph.py
Expand Up @@ -488,7 +488,7 @@ def add_edge(

@staticmethod
def _convert_link_types(
link_types: None | str | LinkType | Sequence[str] | Sequence[LinkType]
link_types: None | str | LinkType | Sequence[str] | Sequence[LinkType],
) -> tuple[LinkType, ...]:
"""Convert link types, which may be strings, to a member of LinkType"""
link_types_list: Sequence[LinkType] | Sequence[str]
Expand Down

0 comments on commit 8dfab0e

Please sign in to comment.