From 676435c13f0cb9b9bf9bfd0d1b997043f8c3dec7 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Thu, 11 Apr 2024 23:41:58 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Lint=20config=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4cce331..6d78be2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,9 @@ [tool.ruff] line-length = 120 +target-version = "py311" +fix = true +show-fixes = true +[tool.ruff.lint] select = [ "ALL"] ignore = [ "D401", @@ -13,10 +17,7 @@ ignore = [ "UP004", #useless-object-inheritance "PLR0911" #too many returns ] -target-version = "py311" -fix = true -show-fixes = true -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "numpy" [tool.docformatter]