mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 05:33:47 +01:00
339645a912
* docs: add precommit hooks * adjust test
623 B
623 B
layout | title | nav_order | has_children |
---|---|---|---|
default | For developers | 4 | true |
For developers
Thanks for contributing :)
Precommit hooks
This ensures that all commits adhere to the formatting and linting rules.
make install-pre-commit-hook
Tests
This project has unit tests that help prevent regressions. Before you can run the tests, you must install a few dependencies:
poetry install
npm i
Then to run the tests:
make test
Run formatting:
make format
Run mypy checks:
poetry run mypy
Run everything:
make all