Skip to content

[DRAFT] chore(typing): remove sentry.utils.not_set from weaklist - #121033

Draft
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/untyped-module-cleanup-3d33
Draft

[DRAFT] chore(typing): remove sentry.utils.not_set from weaklist#121033
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/untyped-module-cleanup-3d33

Conversation

@cursor

@cursor cursor Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove sentry.utils.not_set from the mypy weaklist (# begin: not yet strongly typed) in pyproject.toml
  • verified the module type-checks cleanly under current strict project settings

Verification

  • .venv/bin/mypy --config-file pyproject.toml src/sentry/utils/not_set.py
  • .venv/bin/python -m tools.mypy_helpers.check_stronglist pyproject.toml
  • .venv/bin/prek run -q --files pyproject.toml

Notes

  • attempted to run tests/sentry/utils/test_not_set.py, but this cloud VM currently has no reachable local Postgres/Redis (and devservices cannot start without Docker daemon), so pytest is blocked here.

@armenzg could you please review this draft PR?

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Open in Web View Automation 

Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant