From 1bc75055ecb1eabf27d2298d047ea2ed034bc4c1 Mon Sep 17 00:00:00 2001 From: Jair Henrique Date: Sat, 12 Oct 2024 23:16:48 -0300 Subject: [PATCH] Fix ruff configuration --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3fad6980..6c044cd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,10 @@ filterwarnings = [ ] [tool.ruff] +line-length = 110 +target-version = "py39" + +[tool.ruff.lint] select = [ "B", # flake8-bugbear "C4", # flake8-comprehensions @@ -29,8 +33,6 @@ select = [ "UP", # pyupgrade "W", # pycodestyle warning ] -line-length = 110 -target-version = "py39" -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["vcr"]