Skip to content

Commit

Permalink
Fix deprecated lint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneofghosts authored Feb 4, 2024
1 parent 744eeb9 commit d3d1c4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

target-version = "py310"

select = [
lint.select = [
"B007", # Loop control variable {name} not used within loop body
"B014", # Exception handler with duplicate exception
"C", # complexity
Expand All @@ -26,7 +26,7 @@ select = [
"W", # pycodestyle
]

ignore = [
lint.ignore = [
"D202", # No blank lines allowed after function docstring
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
Expand Down Expand Up @@ -57,11 +57,11 @@ ignore = [
"PLE0605",
]

[flake8-pytest-style]
[lint.flake8-pytest-style]
fixture-parentheses = false

[pyupgrade]
[lint.pyupgrade]
keep-runtime-typing = true

[mccabe]
max-complexity = 25
[lint.mccabe]
max-complexity = 25

0 comments on commit d3d1c4d

Please sign in to comment.