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
a617e184
Commit
a617e184
authored
Jul 21, 2025
by
Baber
Browse files
add ruff rules
parent
4facd5c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
pyproject.toml
pyproject.toml
+2
-5
No files found.
pyproject.toml
View file @
a617e184
...
@@ -102,13 +102,11 @@ plugins.md028.enabled = false # no-blanks-blockquote
...
@@ -102,13 +102,11 @@ plugins.md028.enabled = false # no-blanks-blockquote
plugins.md029.allow_extended_start_values
=
true
# ol-prefix
plugins.md029.allow_extended_start_values
=
true
# ol-prefix
plugins.md034.enabled
=
false
# no-bare-urls
plugins.md034.enabled
=
false
# no-bare-urls
[tool.ruff.lint]
extend-select
=
["I"]
[tool.ruff]
[tool.ruff]
target-version
=
"py39"
target-version
=
"py39"
extend-select
=
[
"I"
,
"UP"
,
"E"
,
"C419"
]
extend-select
=
[
"I"
,
"UP"
,
"E"
,
"C419"
,
"F"
,
"B"
,
"SIM"
]
ignore
=
[
"E402"
,
"E731"
]
ignore
=
[
"E402"
,
"E731"
,
"E501"
,
"E111"
,
"E114"
,
"E117"
]
[tool.ruff.lint.isort]
[tool.ruff.lint.isort]
combine-as-imports
=
true
combine-as-imports
=
true
...
@@ -117,7 +115,6 @@ known-first-party = ["lm_eval"]
...
@@ -117,7 +115,6 @@ known-first-party = ["lm_eval"]
[tool.ruff.lint.extend-per-file-ignores]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py"
=
["F401","F402","F403"]
"__init__.py"
=
["F401","F402","F403"]
"utils.py"
=
["F401"]
[dependency-groups]
[dependency-groups]
dev
=
[
dev
=
[
...
...
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