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.txtWith Docker :
docker run scripts python script_to_execute.pyWithout Docker :
python script_to_execute.pyBefore 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.pyCheck code style of all files
pylint *Run single test file
pytest tests/test_file.pyRun all test files
pytest tests