oncall-engine/engine/apps/user_management/models
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
..
__init__.py Add basic organization moved exception handling and middleware 2022-10-20 15:04:58 -06:00
organization.py add shifts property to shift swap request response schema + finalize slack message layout (#2712) 2023-08-01 14:21:02 -04:00
region.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
team.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
user.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00