This repository was created for learning purpose
Sync dependencies with pip-compile --output-file requirements.txt requirements.in
You need Python 3.7 to run async code
Folder pure_python
contains legacy code, it need refactoring
For use graphic library
sudo apt-get install graphviz
If problems with basemap package:
sudo apt-get install libgeos-dev
pip3 install -U git+https://github.com/matplotlib/basemap.git
For launch GUI tkinter
sudo apt-get install python3-tk
Install flake8
pip3 install flake8
flake8 --install-hook git
Enable strict and lazy check
git config --bool flake8.strict true
git config --bool flake8.lazy true
Docs
https://flake8.pycqa.org/en/latest/user/using-hooks.html
Test coverage
coverage run -m unittest discover -s labs/tests/ -p '*_test.py'
coverage report