mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-08-23 06:37:10 +00:00
Move development tools out of runtime requirements (#4280)
Co-authored-by: Nameless-Monster-Nerd <207905925+Nameless-Monster-Nerd@users.noreply.github.com>
This commit is contained in:
co-authored by
Nameless-Monster-Nerd
parent
4bfce3c4b0
commit
3a7d18dd3c
@@ -33,7 +33,7 @@ jobs:
|
||||
done
|
||||
- name: Lint .pot template with dennis
|
||||
run: |
|
||||
pip install "$(grep -E '^dennis ?>=' requirements.txt)"
|
||||
pip install "$(grep -E '^dennis ?>=' requirements-dev.txt)"
|
||||
dennis-cmd lint --strict changedetectionio/translations/messages.pot
|
||||
- name: Lint .po files with dennis
|
||||
run: |
|
||||
|
||||
@@ -4,6 +4,8 @@ I am no professional flask developer, if you know a better way that something ca
|
||||
|
||||
Otherwise, it's always best to PR into the `master` branch.
|
||||
|
||||
Install the development and test dependencies with `pip install -r requirements-dev.txt`.
|
||||
|
||||
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
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
-r requirements.txt
|
||||
|
||||
ruff >= 0.11.2
|
||||
pre_commit >= 4.2.0
|
||||
dennis >= 1.3.0
|
||||
@@ -157,12 +157,7 @@ rank-bm25>=0.2.2
|
||||
# Needed for testing, cross-platform for process and system monitoring
|
||||
psutil==7.2.2
|
||||
|
||||
ruff >= 0.11.2
|
||||
pre_commit >= 4.2.0
|
||||
dennis >= 1.3.0
|
||||
|
||||
# For events between checking and socketio updates
|
||||
blinker
|
||||
pytest-xdist
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user