Contributing¶
Issues¶
Bug reports, questions, or feature requests can be submitted as GitHub issues.
Developing Locally¶
-
Before starting, you'll need poetry installed. pre-commit is also recommended.
-
Fork spatula and check out your fork:
$ git clone git@github.com:<your username>/spatula.git
-
Install pre-commit hooks
This will make sure that the linters run before each commit, saving you time.$ pre-commit install
-
Install spatula and its development dependencies locally:
From here, you can use$ cd spatula $ poetry install
poetry run inv
to run several useful maintenance commands.
Running Tests¶
poetry run inv test
will run all tests and write coverage information to htmlcov/index.html
Linting & Type Checking¶
poetry run inv lint
will run flake8 and black to lint the code style.
poetry run inv mypy
will run the mypy type checker.
Building Docs¶
poetry run inv docs
will build the docs and watch for changes.