Skip to content

Commit 69a8cfc

Browse files
authored
Merge pull request #15 from scicode-bench/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents 8dec269 + 88f56ec commit 69a8cfc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: "v4.6.0"
6+
rev: "v5.0.0"
77
hooks:
88
- id: check-added-large-files
99
- id: check-case-conflict
@@ -15,7 +15,7 @@ repos:
1515
# - id: trailing-whitespace
1616

1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.6.4
18+
rev: v0.9.2
1919
hooks:
2020
# Run the linter.
2121
- id: ruff

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ target-version = "py38"
120120
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
121121
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
122122
# McCabe complexity (`C901`) by default.
123-
select = ["F821", "F822", "E999", "E902", "F401", "F841"]
123+
select = ["F821", "F822", "E902", "F401", "F841"]
124124
ignore = []
125125

126126
# Allow fix for all enabled rules (when `--fix`) is provided.

0 commit comments

Comments
 (0)