Debian Codegraph @

tools/windows/run_tests.bat

raw
1 @echo off
2
3 set arg1=%1
4
5 IF "%arg1%"=="-p" (
6 echo Running flake8...
7 flake8 --extend-ignore=H307,H405,H803,H904,H802,H701 --max-line-length=120 --exclude="*settings.py,*.venv/*.py" gitlint qa examples
8 ) ELSE (
9 :: Run passed arg, or all unit tests if passed arg is empty
10 IF "%arg1%" == "" (
11 pytest -rw -s gitlint
12 ) ELSE (
13 pytest -rw -s %arg1%
14 )
15 )