Commit a617e184 authored by Baber's avatar Baber
Browse files

add ruff rules

parent 4facd5c8
...@@ -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 = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment