From 2d466083b0ee90b41688bed58da3ec79b2602246 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 1 Jan 2024 13:24:14 +0100 Subject: [PATCH] Use (new) ruff config section `lint` --- .ruff.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index afc234a3520..41188051568 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -372,7 +372,7 @@ select = [ "YTT", ] -[per-file-ignores] +[lint.per-file-ignores] "doc/conf.py" = ["INP001"] "doc/development/tutorials/examples/*" = ["INP001"] # allow print() in the tutorial @@ -410,5 +410,5 @@ select = [ # whitelist ``print`` for stdout messages "utils/*" = ["T201"] -[flake8-quotes] +[lint.flake8-quotes] inline-quotes = "single"