Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

feat(workflow): document SENTRY_MYPY_PRE_PUSH env var #1337

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/docs/workflow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ We're slowly working to add typing to our Python codebase, using `mypy` to check
- Check that the file you're modifying is not on the exclude list from `pyproject.toml`. In other words, you need to opt-in the file for type checking to happen.

- To test types locally, you can run `mypy path/to/file` or just `mypy` to run against all files.

- To automatically run `mypy` during pre-push, export the `SENTRY_MYPY_PRE_PUSH` environment variable set to `1`.
Loading