diff --git a/pyproject.toml b/pyproject.toml index 7e4b18c1..29498aea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -114,17 +114,17 @@ omit = [ [tool.poe.tasks] format = [ - {cmd="black ."}, - {cmd="isort ."}, + { cmd = "black ." }, + # Ignore unused imports (F401), unused variables (F841), `print` statements (T201), and commented-out code (ERA001). + { cmd = "ruff --fix --ignore=ERA --ignore=F401 --ignore=F841 --ignore=T20 --ignore=ERA001 ." }, ] lint = [ - {cmd="ruff ."}, - {cmd="black --check ."}, - {cmd="isort --check ."}, - {cmd="mypy --install-types --non-interactive"}, + { cmd = "ruff ." }, + { cmd = "black --check ." }, + { cmd = "mypy --install-types --non-interactive" }, ] test = [ - {cmd="pytest"}, + { cmd="pytest" }, ] build = {cmd="python -m build"} check = ["lint", "test"] diff --git a/setup.py b/setup.py index ac43c0ac..1075769c 100644 --- a/setup.py +++ b/setup.py @@ -170,7 +170,6 @@ # Packages needed for development and running CI. extras["develop"] = [ - "isort<6", "black<23", "build<1", "mypy<1.3",