From 43180e28ebd1b220dd8fcf830fcc5fd1e3b05b75 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sun, 27 Aug 2023 12:21:08 +0200 Subject: [PATCH] ruff check logging --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8f9f21eb56a..0830ea042cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -252,10 +252,12 @@ filterwarnings = [ # PT025 invalid use of pytest fixtures in other fixtures # RUF200 validate pyproject.toml # I isort -select = ["E", "F", "PT025", "UP", "RUF200", "I"] +select = ["E", "F", "PT025", "UP", "RUF200", "I", "G"] # darker will fix this as code is # reformatted when it is changed. -ignore = ["E501"] +# We have a lot of use of f strings in log messages +# so disable that lint for now +ignore = ["E501", "G004"] extend-include = ["*.ipynb"]