From b4cfc39deb0510c6a3bb46247fd0d56c9b25e4bc Mon Sep 17 00:00:00 2001 From: Alex Ruddick Date: Mon, 5 Feb 2024 13:41:03 -0600 Subject: [PATCH] move ruff config options https://astral.sh/blog/ruff-v0.2.0#configuration-changes --- ruff.toml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ruff.toml b/ruff.toml index 6647f68..aa8aac9 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,13 +1,13 @@ +exclude = ["venv*"] line-length = 99 -ignore = [ +lint.ignore = [ "PLR2004", "D104", "D107", "C901", "UP036", ] -exclude = ["venv*"] -select = [ +lint.select = [ "C", # complexity "D", # docstrings "E", # pycodestyle errors @@ -22,7 +22,5 @@ select = [ # "ARG", # flake8-unused args # "B" # bandit ] -[pydocstyle] +[lint.pydocstyle] convention = "pep257" -[flake8-unused-arguments] -ignore-variadic-names = true