Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
f21a0b81
Commit
f21a0b81
authored
Jul 22, 2025
by
Baber
Browse files
nit
parent
f264f2e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.pre-commit-config.yaml
.pre-commit-config.yaml
+1
-1
pyproject.toml
pyproject.toml
+2
-1
No files found.
.pre-commit-config.yaml
View file @
f21a0b81
...
@@ -33,7 +33,7 @@ repos:
...
@@ -33,7 +33,7 @@ repos:
hooks
:
hooks
:
# Run the linter.
# Run the linter.
-
id
:
ruff-check
-
id
:
ruff-check
args
:
[
--fix
,
--unsafe-fixes
]
args
:
[
--fix
]
# Run the formatter.
# Run the formatter.
-
id
:
ruff-format
-
id
:
ruff-format
-
repo
:
https://github.com/codespell-project/codespell
-
repo
:
https://github.com/codespell-project/codespell
...
...
pyproject.toml
View file @
f21a0b81
...
@@ -106,7 +106,8 @@ plugins.md034.enabled = false # no-bare-urls
...
@@ -106,7 +106,8 @@ plugins.md034.enabled = false # no-bare-urls
[tool.ruff]
[tool.ruff]
target-version
=
"py39"
target-version
=
"py39"
lint.extend-select
=
[
"I"
,
"UP"
,
"E"
,
"C419"
,
"F"
,
"B"
,
"SIM"
]
lint.extend-select
=
[
"I"
,
"UP"
,
"E"
,
"C419"
,
"F"
,
"B"
,
"SIM"
]
lint.ignore
=
[
"E402"
,
"E731"
,
"E501"
,
"E111"
,
"E114"
,
"E117"
]
lint.ignore
=
[
"E402"
,
"E731"
,
"E501"
,
"E111"
,
"E114"
,
"E117"
,
"E741"
]
fixable
=
[
"I001"
,
"F401"
,
"UP"
]
[tool.ruff.lint.isort]
[tool.ruff.lint.isort]
combine-as-imports
=
true
combine-as-imports
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment