Skip to content

Commit

Permalink
ci: Update ruff settings
Browse files Browse the repository at this point in the history
Silence some ruff warnings regarding deprecated configuration keys.

Signed-off-by: Nicolai Buchwitz <[email protected]>
  • Loading branch information
nbuchwitz committed May 12, 2024
1 parent 42e8797 commit 297275b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ line-length = 100

[tool.ruff]
line-length = 100
select = [
lint.select = [
"ANN", # flake8-annotations
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"Q", # flake8-quotes
]
ignore = [
lint.ignore = [
"ANN101", # missing-type-self
"D107", # undocumented-public-init
]

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 10

0 comments on commit 297275b

Please sign in to comment.