oncall-engine/engine/apps/grafana_plugin
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
..
helpers Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
tasks Remove checks that slow down plugin load and cause "Initializing plugin..." (#2624) 2023-07-26 10:57:57 +00:00
tests Paginate calls to get instances from gcom (#2669) 2023-07-28 21:19:27 +00:00
views Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
apps.py Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
permissions.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
urls.py Get rid of installation token + add a bunch of tests (#624) 2022-11-21 16:26:00 +01:00