From 2915bb0aab5ea8c7bcb256e5eb5cc2cf601f3bf8 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 c1a6bfc..78e60ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ speedup = [ test = [ "pygeohydro", "pytest-cov", + "pytest-sugar", "pytest-xdist[psutil]", ] [project.urls] @@ -92,6 +93,8 @@ select = [ "N", # pygrep-hooks "PGH", + # flake8-pytest-style + "PT", # flake8-use-pathlib "PTH", # flake8-quotes @@ -100,6 +103,8 @@ select = [ "S", # flake8-simplify "SIM", + # flake8-print + "T20", # tryceratops "TRY", # pyupgrade