Welcome to the Sterke-Lekdijk repo!
This app makes use of code quality tools. These tools are isolated in a seperate requirements file (dev-requirements.txt
). The following sections helps you with the setup and using these tools.
To create a venv on Linux:
python3 -m venv env
Activate the virtual environment:
source ./env/bin/activate
Install dependencies:
pip install -r dev-requirements.txt
Formatting with black and isort (replace with viktor-cli.exe for Windows):
python -m black app/ tests/
python -m isort .
Static code analysis:
python -m pylint app/ tests/
Run tests:
viktor-cli test