mirror of
https://github.com/tiennm99/serena.git
synced 2026-09-20 04:23:43 +00:00
Reconfigure poe tasks to affect only the relevant source directories
This commit is contained in:
1 parent
5637ed4a55
commit
3263b365d3
1 file changed
+5
-5
+5
-5
@@ -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 = [
|
||||
|
||||
Reference in new issue
Block a user