We are using Python 3.10 and pipenv. Install Python 3.10 from https://python.org.
Install pipenv with the following command:
$ python3.10 -m pip install --user pipenvThen, install dependencies:
$ pipenv installYou will also have to install GraphViz
Once you have installed dependencies, use
$ pipenv shellin order to activate the virtual environment.
| Action | Command |
|---|---|
Run __main__ |
python -m prereq_flowchart |
| Run a particular file | python -m prereq_flowchart.<filename> |
| Run all unit tests | python -m unittest discover -v -s tests/ -p "*test*.py" |
| Format code | black . |
| Check types | mypy prereq_flowchart/ |