Skip to content

fix: Adjust the Alerting API #299

fix: Adjust the Alerting API

fix: Adjust the Alerting API #299

GitHub Actions / flake8 failed Sep 29, 2024 in 1s

reviewdog [flake8] report

reported by reviewdog 🐶

Findings (3)

grafana_api/alerting.py|73 col 36| missing whitespace around operator
grafana_api/alerting.py|934 col 17| f-string is missing placeholders
tests/unittests/test_alerting.py|756 col 44| multiple spaces after ','

Filtered Findings (1)

tests/integrationtest/test_alerting.py|6 col 1| 'grafana_api.model.AlertmanagerReceivers' imported but unused

Annotations

Check failure on line 73 in grafana_api/alerting.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] grafana_api/alerting.py#L73 <225>

missing whitespace around operator
Raw output
./grafana_api/alerting.py:73:36: E225 missing whitespace around operator

Check failure on line 934 in grafana_api/alerting.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] grafana_api/alerting.py#L934 <541>

f-string is missing placeholders
Raw output
./grafana_api/alerting.py:934:17: F541 f-string is missing placeholders

Check failure on line 756 in tests/unittests/test_alerting.py

See this annotation in the file changed.

@github-actions github-actions / flake8

[flake8] tests/unittests/test_alerting.py#L756 <241>

multiple spaces after ','
Raw output
./tests/unittests/test_alerting.py:756:44: E241 multiple spaces after ','