-
Initialize the virtual environment and install dependencies.
$ poetry install --all-extras
-
Static checks
$ poetry run -- mypy basana $ poetry run -- flake8
-
Execute testcases
$ poetry run pytest -vv --cov --cov-config=setup.cfg --durations=10
Instead of running those commands manually, a couple of Invoke tasks are provided to wrap those.
-
Initialize the virtual environment and install dependencies.
$ inv create-virtualenv
-
Execute static checks and testcases
$ inv test
$ inv build-docs