From dffda35f8207123ddd39b9b136d73c78c4d1625f Mon Sep 17 00:00:00 2001 From: Taher Chegini Date: Fri, 6 Oct 2023 22:39:39 -0400 Subject: [PATCH] MNT: Add new linters for checking print statement and pytest style. Then, fix the raised issues. [skip ci] --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c699ff8..bd3698b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ speedup = [ ] test = [ "pytest-cov", + "pytest-sugar", "pytest-xdist[psutil]", ] [project.urls] @@ -96,6 +97,8 @@ select = [ "N", # pygrep-hooks "PGH", + # flake8-pytest-style + "PT", # flake8-use-pathlib "PTH", # flake8-quotes @@ -104,6 +107,8 @@ select = [ "S", # flake8-simplify "SIM", + # flake8-print + "T20", # tryceratops "TRY", # pyupgrade