From 3263b365d3e98e40b65f6e85499134edb4b349c1 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Tue, 25 Mar 2025 19:28:30 +0100 Subject: [PATCH] Reconfigure poe tasks to affect only the relevant source directories --- pyproject.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a84a6e1c..5ef052d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,16 +103,16 @@ PYDEVD_DISABLE_FILE_VALIDATION = "1" [tool.poe.tasks] test = "pytest test --cov=serena --cov-report=xml --cov-report=term-missing --durations=0 -v --color=yes" -_black_check = "black --check --exclude src/multilspy/ ." -_ruff_check = "ruff check --exclude .venv/|src/multilspy/ ." +_black_check = "black --check --exclude src/multilspy/ src scripts test" +_ruff_check = "ruff check --exclude .venv/ --exclude src/multilspy/ src scripts test" _ruff_check_nb = "nbqa ruff check docs" -_black_format = "black --exclude .venv/|src/multilspy/ ." -_ruff_format = "ruff check --exclude src/multilspy/ --fix ." +_black_format = "black --exclude .venv/|src/multilspy/ src scripts test" +_ruff_format = "ruff check --exclude src/multilspy/ --fix src scripts test" _ruff_format_nb = "nbqa ruff --fix docs" lint = [ "_black_check", "_ruff_check", - "_ruff_check_nb" + #"_ruff_check_nb" ] clean-nbs = "python docs/nbstripout.py" format = [