Skip to content
Snippets Groups Projects
Commit 8f2f10aa authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Updated ruff linter configuration sections

parent ba203742
No related branches found
No related tags found
1 merge request!252Update to Ubuntu24.04
......@@ -48,7 +48,10 @@ line-length = 120
[tool.ruff]
line-length = 120
select = [# https://beta.ruff.rs/docs/rules/
[tool.ruff.lint]
# https://beta.ruff.rs/docs/rules/
select = [
"F",
"E",
"W",
......@@ -95,7 +98,7 @@ ignore = [
"D100", # missing docstring in public module
]
[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [ # no need for docstrings in tests
"D100", # missing docstring in public module
"D101", # missing docstring in public class
......@@ -108,7 +111,7 @@ ignore = [
]
[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["helpy", "schemas", "wax"]
required-imports = ["from __future__ import annotations"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment