```batchfile
@echo off

set PYTHON=%~1
set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%

python -m pytest
python -m flake8
```

Use pytest and flake8 commands.
user
```batchfile
set PYTHON=%~1
set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%

pytest
flake8
```
assistant