oncall-engine/engine/apps/phone_notifications
Joey Orlando d6140cbe8d
Re-enable a few mypy rules + fix existing errors (#2725)
# What this PR does

Related to https://github.com/grafana/oncall/issues/2392

- Re-enable the following `mypy` rules + fix their pre-existing errors:
  - `no-redef`
  - `valid-type`
  - `var-annotated`
- Add stronger return typing to the `GrafanaAPIClient` by use of
generics + add some links to documentation in the method docstrings

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-08-03 09:43:03 +00:00
..
migrations Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
models Better simple phone provider (#2143) 2023-06-09 13:21:38 +08:00
tests Fix phone call & SMS relay (#2345) 2023-06-26 16:09:21 +00:00
__init__.py Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
exceptions.py Add BaseFailed exceptions for phone_notificator (#2074) 2023-06-08 05:55:41 +00:00
phone_backend.py Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_provider.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
simple_phone_provider.py Better simple phone provider (#2143) 2023-06-09 13:21:38 +08:00