Development
Atlas Hub is developed using python and a few helpful tools:
Pyenv <https://github.com/pyenv/pyenv>
_ for managing python environmentsPoetry <https://python-poetry.org>
_ for managing dependenciesPrecommit <https://pre-commit.com>
_ for reformating code before committingTox <https://tox.readthedocs.io/en/latest/index.html>
_ running tests, verifying code
∞ Precommit Setup
To setup precommit hooks:
precommit install
∞ Testing
Tests can be run with tox:
tox
∞ Running Pytests
With Poetry:
export FLASK_APP=em_web; export FLASK_ENV=test; poetry run python -m pytest --disable-warnings
With tox:
tox -e clean,py39,cov
poetry run tox -e clean,py39,cov