A multipurpose python flask API server and administration SPA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
782 B

SET PIPENV_VERBOSITY=-1
SET PYTHONPATH=%cd%
pipenv run python3 --version
pipenv run python3 -m pip --version
pipenv run pylint --version
pipenv run mypy --version
pipenv run coverage --version
pipenv run pytest --version
pipenv run pycodestyle --version
pipenv run pydocstyle --version
pipenv run pylint server
if %errorlevel% neq 0 exit /b %errorlevel%
pipenv run mypy server tests
if %errorlevel% neq 0 exit /b %errorlevel%
pipenv run coverage run --source server -m pytest
if %errorlevel% neq 0 exit /b %errorlevel%
pipenv run coverage report --fail-under=85 -m --skip-covered
if %errorlevel% neq 0 exit /b %errorlevel%
pipenv run pycodestyle server tests
if %errorlevel% neq 0 exit /b %errorlevel%
pipenv run pydocstyle server
if %errorlevel% neq 0 exit /b %errorlevel%