From ba38da85ebe4b0a6275c8b7eaf485de25396ed11 Mon Sep 17 00:00:00 2001 From: Alex Ruddick Date: Mon, 5 Feb 2024 14:15:35 -0600 Subject: [PATCH] move ruff config options https://astral.sh/blog/ruff-v0.2.0#configuration-changes --- ruff.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ruff.toml b/ruff.toml index 27f4105..08ea901 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,11 +1,13 @@ +exclude = ["venv*"] line-length = 99 -ignore = [ +target-version = "py38" +lint.ignore = [ "PLR2004", "D104", "D107", "C901", ] -select = [ +lint.select = [ "ARG", # flake8-unused args "B", # bandit "C", # complexity @@ -19,9 +21,5 @@ select = [ "UP", # pyupgrade "YTT", # flake8-2020 ] - -target-version = "py38" -[pydocstyle] +[lint.pydocstyle] convention = "pep257" -[flake8-unused-arguments] -ignore-variadic-names = true