Skip to content

Commit

Permalink
Merge pull request #99 from cphyc/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
cphyc committed Apr 30, 2024
2 parents d6c2f51 + 08bf33e commit b525813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ repos:
- id: setup-cfg-fmt
args: [--include-version-classifiers, --max-py-version, '3.11']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.1
rev: v0.4.2
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 1 addition & 1 deletion fortran_linter/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def __init__(self, linelen: int = 120):
"types": types_re,
"structs": struct_re,
"punctuations": punctuation_re,
"linelen_re": "{%s}" % self.linelen,
"linelen_re": f"{{{self.linelen}}}",
"linelen": f"{self.linelen}",
}

Expand Down

0 comments on commit b525813

Please sign in to comment.