oncall-engine/.github/workflows
Joey Orlando 9dde1805aa
add mypy static type checker to backend codebase (#2151)
# What this PR does

- Adds [`mypy` static type checking](https://mypy-lang.org/) to our CI
pipeline. Currently there is still a **ton** of errors being returned by
the tool, as we'll need to fix pre-existing errors. I think we can
slowly chip away at these errors in small PRs, doing them all in one
large PR is likely very risky.
- Also, this PR starts chipping away at one of the main type errors that
we have which is accessing the `datetime` class (from the `datetime`
library) or `timedelta` function on the `django.utils.timezone` module.
Basically we should be instead accessing these two objects from the
native `datetime` module. This makes sense because the [`__all__`
attribute](https://github.com/django/django/blob/main/django/utils/timezone.py#L14-L30)
in `django.utils.timezone` does not re-export `datetime` or `timedelta`.
- splits `engine` dependencies out into `requirements.txt` and
`requirements-dev.txt`

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated (N/A)
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required) (N/A)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required) (N/A)
2023-06-12 12:50:33 -04:00
..
helm_release.yml Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00
helm_release_pr.yml Update helm_release_pr.yml 2023-01-20 16:41:51 +08:00
issue_commands.yml Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00
issues_add_to_project.yml GH Action to add OSS issues to team's kanban board (#1674) 2023-03-30 14:53:08 +03:00
linting-and-tests.yml add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
publish-technical-documentation-next.yml Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00
publish-technical-documentation-release.yml Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00
snyk.yml Feat(Dev): Improve Building of Grafana Plugin in Development Env + update node version (#1890) 2023-05-17 16:12:51 -04:00
triage-stale-pull-requests.yml update triage stale pull requests action to 2023-06-07 07:14:12 +02:00
verify-changelog-updated.yml don't run changelog/public-docs CI checks on merge_group Github events (#1388) 2023-02-22 16:18:25 +01:00
verify-public-docs-updated.yml don't run changelog/public-docs CI checks on merge_group Github events (#1388) 2023-02-22 16:18:25 +01:00