1
0
Fork 0
gitlint/tools/windows/run_tests.bat
Daniel Baumann d8f166e6bb
Adding upstream version 0.13.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-13 05:54:40 +01:00

15 lines
No EOL
383 B
Batchfile

@echo off
set arg1=%1
IF "%arg1%"=="-p" (
echo Running flake8...
flake8 --extend-ignore=H307,H405,H803,H904,H802,H701 --max-line-length=120 --exclude="*settings.py,*.venv/*.py" gitlint qa examples
) ELSE (
:: Run passed arg, or all unit tests if passed arg is empty
IF "%arg1%" == "" (
pytest -rw -s gitlint
) ELSE (
pytest -rw -s %arg1%
)
)