To run the tests, run
make test
To run the linter, formatter, and spell check, run
poetry run tox -e codespell,lint-fix,format
- codespell checks app/ and tests/ for spelling mistakes
- lint-fix will run lint on the app/ and tests/ directory looking for things it can automatically fix - will also output things to fix that it can't fix on its own.
- clone the repo
git clone https://github.com/geneontology/go-fastapi
- install requirements into a virtual environment
poetry install
- start the API server
make start
- run the tests
make test