4. Suggestions for experienced developers¶
These development topics are optional, but are suggested for those who are already experienced with Git and Python and those who wish to develop their skills further.
Branching with Git and pull requests
Use a Git branch for each task, and merge your topic branch into
master once it is complete and tests pass. Use merge requests to
merge code into the
Use flake8 for static analysis and to check your code for style.
Check your test coverage using pytest-cov.
Installing the module and using from a Jupyter notebook
The template repository has a
setup.py file which allows the
floodsystem module to be installed. Install the module from the
project directory using:
pip install . --user
Once the module has been installed, you should be able to import it from any location. Try using your module from a Jupyter notebook.