From 41a6551bef3ec06ca9eed74e75a8b4028a9859e3 Mon Sep 17 00:00:00 2001 From: Alex Ruddick Date: Mon, 5 Feb 2024 14:05:49 -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 6255ff1..808e72c 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,13 +1,14 @@ +exclude = ["venv*"] line-length = 99 -ignore = [ +target-version = "py38" +lint.ignore = [ "PLR2004", "D104", "D107", "C901", "RUF012", # typing.ClassVar ] -exclude = ["venv*"] -select = [ +lint.select = [ "C", # complexity "D", # docstrings "E", # pycodestyle errors @@ -22,8 +23,5 @@ select = [ # "ARG", # flake8-unused args # "B" # bandit ] -target-version = "py38" -[pydocstyle] +[lint.pydocstyle] convention = "pep257" -[flake8-unused-arguments] -ignore-variadic-names = true