mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-10-15 00:09:26 +00:00
16 lines
710 B
Markdown
16 lines
710 B
Markdown
Contributing is always welcome!
|
|
|
|
I am no professional flask developer, if you know a better way that something can be done, please let me know!
|
|
|
|
Otherwise, it's always best to PR into the `master` branch.
|
|
|
|
Install the development and test dependencies with `pip install -r requirements-dev.txt`.
|
|
|
|
Then activate the git hooks once with `pre-commit install` — this wires up linting on commit and a
|
|
translation catalog check on push, matching what CI enforces. Git cannot enable hooks automatically
|
|
on clone, so this step is manual.
|
|
|
|
Please be sure that all new functionality has a matching test!
|
|
|
|
Use `pytest` to validate/test, you can run the existing tests as `pytest tests/test_notification.py` for example
|