Reconfigure poe tasks to affect only the relevant source directories

This commit is contained in:
Dominik Jain committed 2025-03-25 19:28:30 +01:00
1 parent 5637ed4a55
commit 3263b365d3
1 file changed
+5 -5
+5 -5
View File
@@ -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 = [