From ded15f33b5dcb73d6e566c1fe58c97c71708d405 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 26 Dec 2023 16:15:59 +0100 Subject: [PATCH] Apply Repo-Review suggestion (#595) * Apply Repo-Review suggestion RF202: Use (new) lint config section select should be set as lint.select instead * Update pyproject.toml Co-authored-by: Henry Schreiner --------- Co-authored-by: Henry Schreiner --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f33ab166..35516340 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,6 +94,9 @@ show_missing = true [tool.ruff] line-length = 88 +src = ["src"] + +[tool.ruff.lint] select = [ "E", "F", "W", # default flake-8 "I", # isort @@ -101,7 +104,6 @@ select = [ "UP", # pyupgrade "B", # flake8-bugbear ] -src = ["src"] # Tox (https://tox.wiki/) is a tool for running tests in multiple virtualenvs. # This configuration file will run the test suite on all supported python