From d3d1c4d48fb47193da61d65f1b5474e178eece41 Mon Sep 17 00:00:00 2001 From: Kev Date: Sun, 4 Feb 2024 12:30:10 -0500 Subject: [PATCH] Fix deprecated lint settings --- .ruff.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index efc104e..2a232a5 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -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 @@ -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 @@ -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 \ No newline at end of file +[lint.mccabe] +max-complexity = 25