Skip to content

[DRAFT] typing: remove sentry.utils.json from weaklist#119458

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

[DRAFT] typing: remove sentry.utils.json from weaklist#119458
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/untyped-module-cleanup-bec7

Conversation

@cursor

@cursor cursor Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove sentry.utils.json from the mypy weaklist in pyproject.toml
  • keep module ordering/weaklist checks green
  • verify sentry.utils.json passes strict mypy checks under current config

Testing

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

Environment limitations encountered

  • make test-selective failed in this VM because gcloud is unavailable.
  • pytest tests/sentry/utils/test_json.py failed due missing Redis; Docker daemon/devservices are unavailable in this VM.

@armenzg please review.

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 

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 11, 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