Development scripts for COViRondelle2021
Using Docker prevents having to install the needed dependencies on the system. For testing purposes, it's really simpler.
Otherwise, here are some links for UNIX-based OS :
With Docker :
docker build -t scripts .
Without Docker :
pip install -r requirements.txt
With Docker :
docker run scripts python script_to_execute.py
Without Docker :
python script_to_execute.py
Before contributing to the project, please read our contribution guide.
To use the following commands with Docker, simply append docker run scripts
before the command.
Check code style of a single file
pylint module/script_to_check.py
Check code style of all files
pylint *
Run single test file
pytest tests/test_file.py
Run all test files
pytest tests