oncall-engine/engine/apps/api
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
..
serializers Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
tests API for grafana alerting (including test fix) (#2737) 2023-08-03 05:12:52 -04:00
throttlers Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
views API for grafana alerting (including test fix) (#2737) 2023-08-03 05:12:52 -04:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
errors.py Fix backend for resolution notes via mobile app (#2117) 2023-06-07 12:19:16 +00:00
permissions.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
urls.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00