This is a training project for Scientific Software Engineering for EES group.
In a Python environment, in the root of the repository, install it in develop mode using the command below.
NOTE: you need to re-run the following command everytime you add new (optional) dependencies!
pip install -e .[dev]
After installation, run the test.
pytest
You can run the following two commands to automatically format your code style.
isort .
black .
You can run the following command to check the code quality. It will return errors if the quality check fails. You need to read the errors and make required adjustments.
pylint ees_scientific_software_engineering
mypy src/ees_scientific_software_engineering
The folder structure of the repository is explained as below.
src/ees_scientific_software_engineering
is the main folder of the package. You should put your new functionality code there.tests
is the folder containing the test files. You should put your test code there..vscode
contains the setting file for the IDE VSCode..github/workflows
contains the continuous integration (CI) configurations.