Skip to content

Commit

Permalink
ci: update ruff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Feb 23, 2024
1 parent 1aaeb8c commit 8378860
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ Twitter = "https://twitter.com/WeblateOrg"
profile = "black"

[tool.ruff]
output-format = "github"
target-version = "py38"

[tool.ruff.lint]
ignore = [
"D10", # TODO: we are missing many docstrings
"D203", # CONFIG: incompatible with D211
Expand All @@ -88,7 +92,6 @@ ignore = [
"PLR2004", # TODO: Magic value used in comparison, consider replacing 201 with a constant variable
"N818" # TODO: exception naming
]
output-format = "github"
select = [
"E",
"F",
Expand Down Expand Up @@ -123,7 +126,6 @@ select = [
"SLF",
"N"
]
target-version = "py38"

[tool.ruff.mccabe]
max-complexity = 16
Expand Down

0 comments on commit 8378860

Please sign in to comment.