From 57f8155d459e7dbd2e066d65f4f4c9466493aba5 Mon Sep 17 00:00:00 2001 From: "Antoine J.-F. Salomon" Date: Tue, 26 Mar 2024 13:05:19 +0100 Subject: [PATCH] Update top-level linter settings --- {{cookiecutter.plugin_name}}/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.plugin_name}}/pyproject.toml b/{{cookiecutter.plugin_name}}/pyproject.toml index 1f764f0..0f527d3 100644 --- a/{{cookiecutter.plugin_name}}/pyproject.toml +++ b/{{cookiecutter.plugin_name}}/pyproject.toml @@ -18,7 +18,7 @@ target-version = ['py38', 'py39', 'py310'] [tool.ruff] line-length = 79 -select = [ +lint.select = [ "E", "F", "W", #flake8 "UP", # pyupgrade "I", # isort @@ -31,7 +31,7 @@ select = [ "PIE", # flake8-pie "SIM", # flake8-simplify ] -ignore = [ +lint.ignore = [ "E501", # line too long. let black handle this "UP006", "UP007", # type annotation. As using magicgui require runtime type annotation then we disable this. "SIM117", # flake8-simplify - some of merged with statements are not looking great with black, reanble after drop python 3.9