From 4cb519e76857a0a2f261948034d0ab098e63129b Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 15 Dec 2024 08:18:31 +0300 Subject: [PATCH] ensure alphabetical order of rules --- python-package/pyproject.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-package/pyproject.toml b/python-package/pyproject.toml index d4c6d4f828a9..8fcc85814db5 100644 --- a/python-package/pyproject.toml +++ b/python-package/pyproject.toml @@ -141,11 +141,12 @@ select = [ "C4", # pydocstyle "D", - # pycodestyle + # pycodestyle (errors) "E", - "W", # pyflakes "F", + # isort + "I", # NumPy-specific rules "NPY", # pylint @@ -156,8 +157,8 @@ select = [ "SIM401", # flake8-print "T", - # isort - "I", + # pycodestyle (warnings) + "W", ] [tool.ruff.lint.per-file-ignores]