Skip to content

Commit

Permalink
refactor: lint (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman authored Feb 12, 2024
2 parents efc1e5e + d9bd8f8 commit df9440a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 All @@ -39,8 +39,8 @@ ignore = [
"E731", # do not assign a lambda expression, use a def
]

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

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

0 comments on commit df9440a

Please sign in to comment.