pyproject.toml 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. [build-system]
  2. requires = ["setuptools>=40.2.0,<64.0.0", "wheel"]
  3. build-backend = "setuptools.build_meta"
  4. [tool.black]
  5. # File filtering is taken care of in pre-commit.
  6. line-length = 100
  7. target-version = ['py38']
  8. [tool.isort]
  9. profile = "black"
  10. line_length = 100
  11. lines_between_sections = 1
  12. known_first_party = "sentry"
  13. skip = "migrations"
  14. [tool.pytest.ini_options]
  15. python_files = "test_*.py sentry/testutils/*"
  16. # note: When updating the traceback format, make sure to update .github/pytest.json
  17. # We don't use the celery pytest plugin.
  18. addopts = "-ra --tb=short --strict-markers -p no:celery"
  19. # TODO: --import-mode=importlib will become the default soon,
  20. # currently we have a few relative imports that don't work with that.
  21. markers = [
  22. "snuba: test requires access to snuba",
  23. "snuba_ci: test is run in snuba ci",
  24. "sentry_metrics: test requires access to sentry metrics",
  25. "symbolicator: test requires access to symbolicator",
  26. ]
  27. selenium_driver = "chrome"
  28. filterwarnings = [
  29. # Consider all warnings to be errors other than the ignored ones.
  30. "error",
  31. # TODO: after upgrading to django 4.x
  32. "ignore:'index_together' is deprecated. Use 'Meta.indexes' in.*",
  33. "ignore:Passing unsaved model instances to related filters is deprecated.",
  34. "ignore:The django.utils.timezone.utc alias is deprecated.*",
  35. "ignore:django.core.files.storage.get_storage_class is deprecated in favor of using django.core.files.storage.storages.",
  36. # a bunch of google packages use legacy namespace packages
  37. "ignore:pkg_resources is deprecated as an API",
  38. "ignore:Deprecated call to `pkg_resources.declare_namespace\\('google.*'\\)`.",
  39. # The following warning filters are for pytest only.
  40. # This is so we don't have to wrap most datetime objects in testing code
  41. # with django.utils.timezone.
  42. "ignore:DateTimeField.*naive datetime:RuntimeWarning",
  43. "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
  44. # pytest has not yet implemented the replacement for this yet
  45. "ignore:The --looponfail command line argument.*",
  46. ]
  47. looponfailroots = ["src", "tests"]
  48. [tool.mypy]
  49. python_version = "3.8"
  50. mypy_path = ["fixtures/stubs-for-mypy"]
  51. plugins = ["pydantic.mypy", "mypy_django_plugin.main", "tools.mypy_helpers.plugin"]
  52. files = ["."]
  53. exclude = ["^.venv/", "^self-hosted/"]
  54. # minimal strictness settings
  55. check_untyped_defs = true
  56. no_implicit_reexport = true
  57. warn_unreachable = true
  58. warn_unused_configs = true
  59. warn_unused_ignores = true
  60. warn_redundant_casts = true
  61. [tool.django-stubs]
  62. django_settings_module = "sentry.conf.server_mypy"
  63. # these have py.typed but incorrect types
  64. [[tool.mypy.overrides]]
  65. module = [
  66. # TODO: these cause type errors when followed
  67. "snuba_sdk.*",
  68. ]
  69. follow_imports = "skip"
  70. # python3 -m tools.mypy_helpers.make_stub_ignores
  71. # begin: missing 3rd party stubs
  72. # - add .pyi files to fixtures/stubs-for-mypy
  73. # - or find a 3rd party stub
  74. [[tool.mypy.overrides]]
  75. module = [
  76. "boto3.*",
  77. "botocore.client.*",
  78. "botocore.exceptions.*",
  79. "celery.*",
  80. "confluent_kafka.*",
  81. "cssselect.*",
  82. "django_zero_downtime_migrations.backends.postgres.schema.*",
  83. "docker.*",
  84. "fido2.*",
  85. "google.auth.*",
  86. "google.cloud.pubsub_v1.*",
  87. "google.cloud.storage.blob.*",
  88. "google.cloud.storage.bucket.*",
  89. "google.cloud.storage.client.*",
  90. "google.resumable_media.common.*",
  91. "google.rpc.status_pb2.*",
  92. "google_crc32c.*",
  93. "honcho.manager.*",
  94. "honcho.printer.*",
  95. "kombu.*",
  96. "mistune.*",
  97. "onelogin.saml2.auth.*",
  98. "onelogin.saml2.constants.*",
  99. "onelogin.saml2.idp_metadata_parser.*",
  100. "openapi_core.*",
  101. "phabricator.*",
  102. "progressbar.*",
  103. "rb.*",
  104. "requests_oauthlib.*",
  105. "sqlparse.*",
  106. "statsd.*",
  107. "u2flib_server.model.*",
  108. "ua_parser.user_agent_parser.*",
  109. "unidiff.*",
  110. ]
  111. ignore_missing_imports = true
  112. # end: missing 3rd party stubs
  113. # python3 -m tools.mypy_helpers.make_module_ignores
  114. # begin: sentry modules with typing issues
  115. # - remove the module from the list and fix the issues!
  116. # - python3 -m tools.mypy_helpers.find_easiest_modules
  117. [[tool.mypy.overrides]]
  118. module = [
  119. "sentry.api.base",
  120. "sentry.api.bases.external_actor",
  121. "sentry.api.bases.incident",
  122. "sentry.api.bases.integration",
  123. "sentry.api.bases.organization_events",
  124. "sentry.api.bases.organization_request_change",
  125. "sentry.api.bases.organizationmember",
  126. "sentry.api.bases.project",
  127. "sentry.api.bases.project_request_change",
  128. "sentry.api.bases.rule",
  129. "sentry.api.bases.sentryapps",
  130. "sentry.api.bases.team",
  131. "sentry.api.endpoints.accept_organization_invite",
  132. "sentry.api.endpoints.artifact_lookup",
  133. "sentry.api.endpoints.auth_config",
  134. "sentry.api.endpoints.auth_login",
  135. "sentry.api.endpoints.catchall",
  136. "sentry.api.endpoints.chunk",
  137. "sentry.api.endpoints.codeowners",
  138. "sentry.api.endpoints.codeowners.index",
  139. "sentry.api.endpoints.event_apple_crash_report",
  140. "sentry.api.endpoints.event_attachments",
  141. "sentry.api.endpoints.group_details",
  142. "sentry.api.endpoints.group_event_details",
  143. "sentry.api.endpoints.group_events",
  144. "sentry.api.endpoints.group_external_issues",
  145. "sentry.api.endpoints.group_hashes_split",
  146. "sentry.api.endpoints.group_integration_details",
  147. "sentry.api.endpoints.group_integrations",
  148. "sentry.api.endpoints.group_notes",
  149. "sentry.api.endpoints.group_similar_issues",
  150. "sentry.api.endpoints.group_tagkey_details",
  151. "sentry.api.endpoints.group_tagkey_values",
  152. "sentry.api.endpoints.group_tags",
  153. "sentry.api.endpoints.index",
  154. "sentry.api.endpoints.integration_features",
  155. "sentry.api.endpoints.integrations.install_request",
  156. "sentry.api.endpoints.integrations.sentry_apps.details",
  157. "sentry.api.endpoints.integrations.sentry_apps.index",
  158. "sentry.api.endpoints.integrations.sentry_apps.installation.details",
  159. "sentry.api.endpoints.integrations.sentry_apps.installation.index",
  160. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.details",
  161. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.index",
  162. "sentry.api.endpoints.integrations.sentry_apps.publish_request",
  163. "sentry.api.endpoints.integrations.sentry_apps.requests",
  164. "sentry.api.endpoints.integrations.sentry_apps.stats.details",
  165. "sentry.api.endpoints.integrations.sentry_apps.stats.index",
  166. "sentry.api.endpoints.internal.mail",
  167. "sentry.api.endpoints.notifications.notification_actions_available",
  168. "sentry.api.endpoints.notifications.notification_actions_details",
  169. "sentry.api.endpoints.organization_access_request_details",
  170. "sentry.api.endpoints.organization_code_mapping_codeowners",
  171. "sentry.api.endpoints.organization_code_mapping_details",
  172. "sentry.api.endpoints.organization_code_mappings",
  173. "sentry.api.endpoints.organization_dashboard_details",
  174. "sentry.api.endpoints.organization_details",
  175. "sentry.api.endpoints.organization_events",
  176. "sentry.api.endpoints.organization_events_facets",
  177. "sentry.api.endpoints.organization_events_facets_performance",
  178. "sentry.api.endpoints.organization_events_facets_stats_performance",
  179. "sentry.api.endpoints.organization_events_has_measurements",
  180. "sentry.api.endpoints.organization_events_meta",
  181. "sentry.api.endpoints.organization_events_spans_performance",
  182. "sentry.api.endpoints.organization_events_stats",
  183. "sentry.api.endpoints.organization_events_trace",
  184. "sentry.api.endpoints.organization_events_trends",
  185. "sentry.api.endpoints.organization_group_index",
  186. "sentry.api.endpoints.organization_index",
  187. "sentry.api.endpoints.organization_issues_count",
  188. "sentry.api.endpoints.organization_member.details",
  189. "sentry.api.endpoints.organization_member.index",
  190. "sentry.api.endpoints.organization_member.requests.invite.details",
  191. "sentry.api.endpoints.organization_member.requests.join",
  192. "sentry.api.endpoints.organization_member_unreleased_commits",
  193. "sentry.api.endpoints.organization_metrics",
  194. "sentry.api.endpoints.organization_metrics_meta",
  195. "sentry.api.endpoints.organization_onboarding_continuation_email",
  196. "sentry.api.endpoints.organization_projects",
  197. "sentry.api.endpoints.organization_projects_experiment",
  198. "sentry.api.endpoints.organization_release_details",
  199. "sentry.api.endpoints.organization_releases",
  200. "sentry.api.endpoints.organization_repositories",
  201. "sentry.api.endpoints.organization_repository_details",
  202. "sentry.api.endpoints.organization_request_project_creation",
  203. "sentry.api.endpoints.organization_search_details",
  204. "sentry.api.endpoints.organization_searches",
  205. "sentry.api.endpoints.organization_sentry_function_details",
  206. "sentry.api.endpoints.organization_sessions",
  207. "sentry.api.endpoints.organization_stats",
  208. "sentry.api.endpoints.organization_tagkey_values",
  209. "sentry.api.endpoints.organization_tags",
  210. "sentry.api.endpoints.organization_teams",
  211. "sentry.api.endpoints.project_app_store_connect_credentials",
  212. "sentry.api.endpoints.project_artifact_bundle_file_details",
  213. "sentry.api.endpoints.project_details",
  214. "sentry.api.endpoints.project_event_details",
  215. "sentry.api.endpoints.project_group_index",
  216. "sentry.api.endpoints.project_index",
  217. "sentry.api.endpoints.project_key_stats",
  218. "sentry.api.endpoints.project_ownership",
  219. "sentry.api.endpoints.project_release_files",
  220. "sentry.api.endpoints.project_release_stats",
  221. "sentry.api.endpoints.project_repo_path_parsing",
  222. "sentry.api.endpoints.project_rule_details",
  223. "sentry.api.endpoints.project_rule_preview",
  224. "sentry.api.endpoints.project_rule_task_details",
  225. "sentry.api.endpoints.project_rules",
  226. "sentry.api.endpoints.project_rules_configuration",
  227. "sentry.api.endpoints.project_servicehook_stats",
  228. "sentry.api.endpoints.project_stacktrace_link",
  229. "sentry.api.endpoints.project_stacktrace_links",
  230. "sentry.api.endpoints.project_tagkey_details",
  231. "sentry.api.endpoints.project_tagkey_values",
  232. "sentry.api.endpoints.project_tags",
  233. "sentry.api.endpoints.project_transaction_names",
  234. "sentry.api.endpoints.project_transfer",
  235. "sentry.api.endpoints.prompts_activity",
  236. "sentry.api.endpoints.rule_snooze",
  237. "sentry.api.endpoints.setup_wizard",
  238. "sentry.api.endpoints.shared_group_details",
  239. "sentry.api.endpoints.source_map_debug",
  240. "sentry.api.endpoints.team_details",
  241. "sentry.api.endpoints.team_release_count",
  242. "sentry.api.endpoints.team_time_to_resolution",
  243. "sentry.api.endpoints.user_authenticator_enroll",
  244. "sentry.api.endpoints.user_details",
  245. "sentry.api.endpoints.user_emails_confirm",
  246. "sentry.api.endpoints.user_identity_config",
  247. "sentry.api.endpoints.user_index",
  248. "sentry.api.endpoints.user_notification_details",
  249. "sentry.api.endpoints.user_permission_details",
  250. "sentry.api.endpoints.user_permissions",
  251. "sentry.api.endpoints.user_permissions_config",
  252. "sentry.api.endpoints.user_role_details",
  253. "sentry.api.endpoints.user_roles",
  254. "sentry.api.endpoints.user_subscriptions",
  255. "sentry.api.event_search",
  256. "sentry.api.helpers.deprecation",
  257. "sentry.api.helpers.events",
  258. "sentry.api.helpers.group_index.delete",
  259. "sentry.api.helpers.group_index.index",
  260. "sentry.api.helpers.group_index.update",
  261. "sentry.api.helpers.group_index.validators.in_commit",
  262. "sentry.api.helpers.group_index.validators.status_details",
  263. "sentry.api.invite_helper",
  264. "sentry.api.issue_search",
  265. "sentry.api.paginator",
  266. "sentry.api.permissions",
  267. "sentry.api.serializers.models.auth_provider",
  268. "sentry.api.serializers.models.dashboard",
  269. "sentry.api.serializers.models.doc_integration",
  270. "sentry.api.serializers.models.environment",
  271. "sentry.api.serializers.models.event",
  272. "sentry.api.serializers.models.external_actor",
  273. "sentry.api.serializers.models.group",
  274. "sentry.api.serializers.models.group_stream",
  275. "sentry.api.serializers.models.incident",
  276. "sentry.api.serializers.models.integration",
  277. "sentry.api.serializers.models.integration_feature",
  278. "sentry.api.serializers.models.notification_action",
  279. "sentry.api.serializers.models.organization",
  280. "sentry.api.serializers.models.organization_member.base",
  281. "sentry.api.serializers.models.plugin",
  282. "sentry.api.serializers.models.project",
  283. "sentry.api.serializers.models.projectcodeowners",
  284. "sentry.api.serializers.models.role",
  285. "sentry.api.serializers.models.rule",
  286. "sentry.api.serializers.models.sentry_app",
  287. "sentry.api.serializers.models.team",
  288. "sentry.api.serializers.models.user",
  289. "sentry.api.serializers.models.user_identity_config",
  290. "sentry.api.serializers.rest_framework.doc_integration",
  291. "sentry.api.serializers.rest_framework.mentions",
  292. "sentry.api.serializers.rest_framework.notification_action",
  293. "sentry.api.serializers.rest_framework.release",
  294. "sentry.api.serializers.rest_framework.rule",
  295. "sentry.api.serializers.rest_framework.sentry_app_request",
  296. "sentry.api.serializers.snuba",
  297. "sentry.api.validators.email",
  298. "sentry.auth.helper",
  299. "sentry.auth.provider",
  300. "sentry.auth.providers.dummy",
  301. "sentry.auth.providers.github.views",
  302. "sentry.auth.providers.google.views",
  303. "sentry.auth.providers.oauth2",
  304. "sentry.auth.providers.saml2.generic.views",
  305. "sentry.auth.providers.saml2.provider",
  306. "sentry.auth.providers.saml2.rippling.provider",
  307. "sentry.auth.providers.saml2.views",
  308. "sentry.auth.system",
  309. "sentry.auth.view",
  310. "sentry.db.mixin",
  311. "sentry.db.models.manager.base",
  312. "sentry.db.models.paranoia",
  313. "sentry.db.models.query",
  314. "sentry.db.models.utils",
  315. "sentry.db.postgres.base",
  316. "sentry.db.postgres.creation",
  317. "sentry.db.postgres.decorators",
  318. "sentry.db.router",
  319. "sentry.digests.notifications",
  320. "sentry.discover.endpoints.discover_key_transactions",
  321. "sentry.discover.endpoints.serializers",
  322. "sentry.eventstore.models",
  323. "sentry.features.handler",
  324. "sentry.features.manager",
  325. "sentry.grouping.fingerprinting",
  326. "sentry.grouping.strategies.base",
  327. "sentry.grouping.strategies.configurations",
  328. "sentry.grouping.strategies.hierarchical",
  329. "sentry.grouping.strategies.legacy",
  330. "sentry.grouping.strategies.newstyle",
  331. "sentry.identity.bitbucket.provider",
  332. "sentry.identity.github_enterprise.provider",
  333. "sentry.identity.gitlab.provider",
  334. "sentry.identity.oauth2",
  335. "sentry.identity.pipeline",
  336. "sentry.identity.providers.dummy",
  337. "sentry.identity.slack.provider",
  338. "sentry.identity.vsts.provider",
  339. "sentry.incidents.endpoints.bases",
  340. "sentry.incidents.endpoints.organization_alert_rule_details",
  341. "sentry.incidents.endpoints.organization_alert_rule_index",
  342. "sentry.incidents.endpoints.organization_incident_comment_details",
  343. "sentry.incidents.endpoints.organization_incident_index",
  344. "sentry.incidents.endpoints.project_alert_rule_task_details",
  345. "sentry.incidents.events",
  346. "sentry.incidents.logic",
  347. "sentry.incidents.models",
  348. "sentry.incidents.subscription_processor",
  349. "sentry.incidents.tasks",
  350. "sentry.ingest.inbound_filters",
  351. "sentry.integrations.aws_lambda.integration",
  352. "sentry.integrations.base",
  353. "sentry.integrations.bitbucket.client",
  354. "sentry.integrations.bitbucket.installed",
  355. "sentry.integrations.bitbucket.integration",
  356. "sentry.integrations.bitbucket.issues",
  357. "sentry.integrations.bitbucket.uninstalled",
  358. "sentry.integrations.bitbucket.webhook",
  359. "sentry.integrations.bitbucket_server.client",
  360. "sentry.integrations.bitbucket_server.integration",
  361. "sentry.integrations.bitbucket_server.webhook",
  362. "sentry.integrations.example.integration",
  363. "sentry.integrations.example.repository",
  364. "sentry.integrations.github.client",
  365. "sentry.integrations.github.integration",
  366. "sentry.integrations.github.issues",
  367. "sentry.integrations.github.repository",
  368. "sentry.integrations.github.webhook",
  369. "sentry.integrations.github_enterprise.integration",
  370. "sentry.integrations.github_enterprise.webhook",
  371. "sentry.integrations.gitlab.client",
  372. "sentry.integrations.gitlab.integration",
  373. "sentry.integrations.gitlab.issues",
  374. "sentry.integrations.gitlab.webhooks",
  375. "sentry.integrations.jira.actions.form",
  376. "sentry.integrations.jira.client",
  377. "sentry.integrations.jira.endpoints.search",
  378. "sentry.integrations.jira.integration",
  379. "sentry.integrations.jira.views.base",
  380. "sentry.integrations.jira.views.sentry_issue_details",
  381. "sentry.integrations.jira.webhooks.base",
  382. "sentry.integrations.jira.webhooks.issue_updated",
  383. "sentry.integrations.jira_server.client",
  384. "sentry.integrations.jira_server.integration",
  385. "sentry.integrations.jira_server.search",
  386. "sentry.integrations.jira_server.webhooks",
  387. "sentry.integrations.manager",
  388. "sentry.integrations.message_builder",
  389. "sentry.integrations.metric_alerts",
  390. "sentry.integrations.mixins.issues",
  391. "sentry.integrations.mixins.notifications",
  392. "sentry.integrations.mixins.repositories",
  393. "sentry.integrations.msteams.actions.form",
  394. "sentry.integrations.msteams.card_builder.base",
  395. "sentry.integrations.msteams.card_builder.issues",
  396. "sentry.integrations.msteams.card_builder.notifications",
  397. "sentry.integrations.msteams.client",
  398. "sentry.integrations.msteams.integration",
  399. "sentry.integrations.msteams.link_identity",
  400. "sentry.integrations.msteams.notifications",
  401. "sentry.integrations.msteams.webhook",
  402. "sentry.integrations.notifications",
  403. "sentry.integrations.pagerduty.actions.form",
  404. "sentry.integrations.pagerduty.client",
  405. "sentry.integrations.pagerduty.integration",
  406. "sentry.integrations.pipeline",
  407. "sentry.integrations.slack.actions.form",
  408. "sentry.integrations.slack.client",
  409. "sentry.integrations.slack.integration",
  410. "sentry.integrations.slack.message_builder.issues",
  411. "sentry.integrations.slack.message_builder.notifications.digest",
  412. "sentry.integrations.slack.message_builder.notifications.issues",
  413. "sentry.integrations.slack.notifications",
  414. "sentry.integrations.slack.unfurl.discover",
  415. "sentry.integrations.slack.utils.channel",
  416. "sentry.integrations.slack.utils.users",
  417. "sentry.integrations.slack.views.link_identity",
  418. "sentry.integrations.slack.views.link_team",
  419. "sentry.integrations.slack.views.unlink_team",
  420. "sentry.integrations.slack.webhooks.action",
  421. "sentry.integrations.slack.webhooks.base",
  422. "sentry.integrations.slack.webhooks.command",
  423. "sentry.integrations.slack.webhooks.event",
  424. "sentry.integrations.utils.commit_context",
  425. "sentry.integrations.utils.sync",
  426. "sentry.integrations.vercel.client",
  427. "sentry.integrations.vercel.integration",
  428. "sentry.integrations.vercel.webhook",
  429. "sentry.integrations.vsts.client",
  430. "sentry.integrations.vsts.integration",
  431. "sentry.integrations.vsts.issues",
  432. "sentry.integrations.vsts.repository",
  433. "sentry.integrations.vsts_extension.integration",
  434. "sentry.issues.escalating_group_forecast",
  435. "sentry.issues.ingest",
  436. "sentry.issues.issue_occurrence",
  437. "sentry.issues.merge",
  438. "sentry.issues.occurrence_consumer",
  439. "sentry.issues.search",
  440. "sentry.issues.status_change",
  441. "sentry.mail.adapter",
  442. "sentry.mail.notifications",
  443. "sentry.management.commands.makemigrations",
  444. "sentry.management.commands.send_fake_data",
  445. "sentry.middleware.access_log",
  446. "sentry.middleware.auth",
  447. "sentry.middleware.ratelimit",
  448. "sentry.middleware.subdomain",
  449. "sentry.middleware.superuser",
  450. "sentry.models.artifactbundle",
  451. "sentry.models.auditlogentry",
  452. "sentry.models.integrations.external_issue",
  453. "sentry.models.integrations.sentry_app_installation",
  454. "sentry.models.organizationaccessrequest",
  455. "sentry.models.organizationmember",
  456. "sentry.monitors.consumers.monitor_consumer",
  457. "sentry.monitors.endpoints.base",
  458. "sentry.monitors.endpoints.monitor_ingest_checkin_attachment",
  459. "sentry.monitors.endpoints.monitor_ingest_checkin_details",
  460. "sentry.monitors.endpoints.monitor_ingest_checkin_index",
  461. "sentry.monitors.endpoints.organization_monitor_checkin_attachment",
  462. "sentry.monitors.endpoints.organization_monitor_index",
  463. "sentry.monitors.utils",
  464. "sentry.monkey.pickle",
  465. "sentry.net.http",
  466. "sentry.net.socket",
  467. "sentry.notifications.additional_attachment_manager",
  468. "sentry.notifications.notifications.activity.base",
  469. "sentry.notifications.notifications.activity.new_processing_issues",
  470. "sentry.notifications.notifications.activity.release",
  471. "sentry.notifications.notifications.integration_nudge",
  472. "sentry.notifications.notifications.rules",
  473. "sentry.ownership.grammar",
  474. "sentry.pipeline.base",
  475. "sentry.pipeline.views.base",
  476. "sentry.pipeline.views.nested",
  477. "sentry.plugins.base.notifier",
  478. "sentry.plugins.base.urls",
  479. "sentry.plugins.bases.data_forwarding",
  480. "sentry.plugins.bases.issue",
  481. "sentry.plugins.bases.issue2",
  482. "sentry.plugins.bases.notify",
  483. "sentry.plugins.config",
  484. "sentry.plugins.endpoints",
  485. "sentry.plugins.providers.base",
  486. "sentry.plugins.providers.repository",
  487. "sentry.profiles.task",
  488. "sentry.profiles.utils",
  489. "sentry.quotas.redis",
  490. "sentry.receivers.outbox.control",
  491. "sentry.receivers.releases",
  492. "sentry.receivers.sentry_apps",
  493. "sentry.release_health.metrics_sessions_v2",
  494. "sentry.release_health.sessions",
  495. "sentry.release_health.tasks",
  496. "sentry.replays.endpoints.project_replay_clicks_index",
  497. "sentry.replays.lib.query",
  498. "sentry.reprocessing2",
  499. "sentry.rules.actions.integrations.base",
  500. "sentry.rules.actions.integrations.create_ticket.form",
  501. "sentry.rules.actions.integrations.create_ticket.utils",
  502. "sentry.rules.actions.notify_event_service",
  503. "sentry.rules.conditions.event_frequency",
  504. "sentry.rules.conditions.level",
  505. "sentry.rules.conditions.tagged_event",
  506. "sentry.rules.filters.assigned_to",
  507. "sentry.rules.filters.latest_release",
  508. "sentry.rules.history.preview",
  509. "sentry.scim.endpoints.members",
  510. "sentry.scim.endpoints.teams",
  511. "sentry.scim.endpoints.utils",
  512. "sentry.search.events.builder.discover",
  513. "sentry.search.events.builder.errors",
  514. "sentry.search.events.builder.metrics",
  515. "sentry.search.events.datasets.discover",
  516. "sentry.search.events.datasets.filter_aliases",
  517. "sentry.search.events.datasets.function_aliases",
  518. "sentry.search.events.datasets.metrics",
  519. "sentry.search.events.datasets.metrics_layer",
  520. "sentry.search.events.datasets.profile_functions",
  521. "sentry.search.events.datasets.profiles",
  522. "sentry.search.events.datasets.spans_metrics",
  523. "sentry.search.events.fields",
  524. "sentry.search.events.filter",
  525. "sentry.search.events.types",
  526. "sentry.search.snuba.backend",
  527. "sentry.search.snuba.executors",
  528. "sentry.search.utils",
  529. "sentry.sentry_apps.apps",
  530. "sentry.sentry_apps.installations",
  531. "sentry.sentry_metrics.configuration",
  532. "sentry.sentry_metrics.consumers.indexer.slicing_router",
  533. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  534. "sentry.shared_integrations.client.base",
  535. "sentry.shared_integrations.client.proxy",
  536. "sentry.similarity.features",
  537. "sentry.snuba.discover",
  538. "sentry.snuba.errors",
  539. "sentry.snuba.issue_platform",
  540. "sentry.snuba.metrics.datasource",
  541. "sentry.snuba.metrics.fields.base",
  542. "sentry.snuba.metrics.query_builder",
  543. "sentry.snuba.sessions",
  544. "sentry.snuba.sessions_v2",
  545. "sentry.snuba.spans_indexed",
  546. "sentry.snuba.spans_metrics",
  547. "sentry.snuba.tasks",
  548. "sentry.stacktraces.functions",
  549. "sentry.tagstore.base",
  550. "sentry.tagstore.snuba.backend",
  551. "sentry.tagstore.types",
  552. "sentry.tasks.auth",
  553. "sentry.tasks.base",
  554. "sentry.tasks.codeowners.update_code_owners_schema",
  555. "sentry.tasks.commit_context",
  556. "sentry.tasks.deliver_from_outbox",
  557. "sentry.tasks.digests",
  558. "sentry.tasks.groupowner",
  559. "sentry.tasks.integrations",
  560. "sentry.tasks.integrations.github.pr_comment",
  561. "sentry.tasks.integrations.migrate_issues",
  562. "sentry.tasks.integrations.migrate_repo",
  563. "sentry.tasks.integrations.slack.find_channel_id_for_rule",
  564. "sentry.tasks.integrations.slack.link_slack_user_identities",
  565. "sentry.tasks.integrations.sync_assignee_outbound_impl",
  566. "sentry.tasks.integrations.sync_status_inbound",
  567. "sentry.tasks.integrations.sync_status_outbound",
  568. "sentry.tasks.merge",
  569. "sentry.tasks.process_buffer",
  570. "sentry.tasks.reprocessing2",
  571. "sentry.tasks.sentry_apps",
  572. "sentry.tasks.store",
  573. "sentry.tasks.unmerge",
  574. "sentry.templatetags.sentry_assets",
  575. "sentry.templatetags.sentry_helpers",
  576. "sentry.templatetags.sentry_plugins",
  577. "sentry.testutils.asserts",
  578. "sentry.testutils.cases",
  579. "sentry.testutils.factories",
  580. "sentry.testutils.fixtures",
  581. "sentry.testutils.helpers.features",
  582. "sentry.testutils.helpers.notifications",
  583. "sentry.testutils.helpers.slack",
  584. "sentry.testutils.helpers.task_runner",
  585. "sentry.testutils.performance_issues.span_builder",
  586. "sentry.testutils.performance_issues.store_transaction",
  587. "sentry.tsdb.base",
  588. "sentry.tsdb.dummy",
  589. "sentry.tsdb.inmemory",
  590. "sentry.tsdb.redis",
  591. "sentry.tsdb.snuba",
  592. "sentry.types.integrations",
  593. "sentry.utils.audit",
  594. "sentry.utils.auth",
  595. "sentry.utils.committers",
  596. "sentry.utils.distutils.commands.base",
  597. "sentry.utils.distutils.commands.build_assets",
  598. "sentry.utils.email.signer",
  599. "sentry.utils.locking.backends.migration",
  600. "sentry.utils.performance_issues.detectors.io_main_thread_detector",
  601. "sentry.utils.performance_issues.detectors.mn_plus_one_db_span_detector",
  602. "sentry.utils.performance_issues.detectors.n_plus_one_api_calls_detector",
  603. "sentry.utils.performance_issues.detectors.n_plus_one_db_span_detector",
  604. "sentry.utils.performance_issues.detectors.render_blocking_asset_span_detector",
  605. "sentry.utils.performance_issues.detectors.slow_db_query_detector",
  606. "sentry.utils.performance_issues.performance_detection",
  607. "sentry.utils.redis",
  608. "sentry.utils.sentry_apps.webhooks",
  609. "sentry.utils.services",
  610. "sentry.utils.snowflake",
  611. "sentry.utils.snuba",
  612. "sentry.utils.suspect_resolutions.get_suspect_resolutions",
  613. "sentry.utils.suspect_resolutions_releases.get_suspect_resolutions_releases",
  614. "sentry.web.client_config",
  615. "sentry.web.forms.accounts",
  616. "sentry.web.frontend.account_identity",
  617. "sentry.web.frontend.accounts",
  618. "sentry.web.frontend.auth_close",
  619. "sentry.web.frontend.auth_login",
  620. "sentry.web.frontend.auth_logout",
  621. "sentry.web.frontend.auth_organization_login",
  622. "sentry.web.frontend.auth_provider_login",
  623. "sentry.web.frontend.base",
  624. "sentry.web.frontend.debug.debug_assigned_email",
  625. "sentry.web.frontend.debug.debug_codeowners_auto_sync_failure_email",
  626. "sentry.web.frontend.debug.debug_incident_activity_email",
  627. "sentry.web.frontend.debug.debug_incident_trigger_email",
  628. "sentry.web.frontend.debug.debug_mfa_added_email",
  629. "sentry.web.frontend.debug.debug_mfa_removed_email",
  630. "sentry.web.frontend.debug.debug_new_processing_issues_email",
  631. "sentry.web.frontend.debug.debug_organization_integration_request",
  632. "sentry.web.frontend.debug.debug_organization_invite_request",
  633. "sentry.web.frontend.debug.debug_organization_join_request",
  634. "sentry.web.frontend.debug.debug_password_changed_email",
  635. "sentry.web.frontend.debug.debug_recovery_codes_regenerated_email",
  636. "sentry.web.frontend.disabled_member_view",
  637. "sentry.web.frontend.generic",
  638. "sentry.web.frontend.group_plugin_action",
  639. "sentry.web.frontend.idp_email_verification",
  640. "sentry.web.frontend.integration_extension_configuration",
  641. "sentry.web.frontend.js_sdk_loader",
  642. "sentry.web.frontend.newest_issue",
  643. "sentry.web.frontend.oauth_authorize",
  644. "sentry.web.frontend.oauth_token",
  645. "sentry.web.frontend.organization_integration_setup",
  646. "sentry.web.frontend.out",
  647. "sentry.web.frontend.pipeline_advancer",
  648. "sentry.web.frontend.project_event",
  649. "sentry.web.frontend.react_page",
  650. "sentry.web.frontend.reactivate_account",
  651. "sentry.web.frontend.setup_wizard",
  652. "sentry.web.frontend.shared_group_details",
  653. "sentry.web.frontend.twofactor",
  654. "sentry_plugins.asana.plugin",
  655. "sentry_plugins.base",
  656. "sentry_plugins.bitbucket.client",
  657. "sentry_plugins.bitbucket.endpoints.webhook",
  658. "sentry_plugins.bitbucket.mixins",
  659. "sentry_plugins.bitbucket.plugin",
  660. "sentry_plugins.bitbucket.repository_provider",
  661. "sentry_plugins.client",
  662. "sentry_plugins.github.client",
  663. "sentry_plugins.github.plugin",
  664. "sentry_plugins.github.webhooks.base",
  665. "sentry_plugins.github.webhooks.events.push",
  666. "sentry_plugins.github.webhooks.integration",
  667. "sentry_plugins.heroku.plugin",
  668. "sentry_plugins.jira.client",
  669. "sentry_plugins.jira.plugin",
  670. "sentry_plugins.pivotal.plugin",
  671. "sentry_plugins.pushover.plugin",
  672. "sentry_plugins.redmine.forms",
  673. "sentry_plugins.redmine.plugin",
  674. "sentry_plugins.slack.plugin",
  675. "sentry_plugins.splunk.plugin",
  676. "sentry_plugins.trello.plugin",
  677. "sentry_plugins.twilio.plugin",
  678. "tests.sentry.api.bases.test_organization",
  679. "tests.sentry.api.bases.test_project",
  680. "tests.sentry.api.bases.test_sentryapps",
  681. "tests.sentry.api.bases.test_team",
  682. "tests.sentry.api.endpoints.notifications.test_notification_actions_details",
  683. "tests.sentry.api.endpoints.notifications.test_notification_actions_index",
  684. "tests.sentry.api.endpoints.test_event_attachment_details",
  685. "tests.sentry.api.helpers.test_group_index",
  686. "tests.sentry.api.test_authentication",
  687. "tests.sentry.api.test_base",
  688. "tests.sentry.api.test_event_search",
  689. "tests.sentry.digests.test_notifications",
  690. "tests.sentry.eventstore.test_base",
  691. "tests.sentry.grouping.test_result",
  692. "tests.sentry.identity.test_oauth2",
  693. "tests.sentry.incidents.test_logic",
  694. "tests.sentry.ingest.test_slicing",
  695. "tests.sentry.integrations.github.test_client",
  696. "tests.sentry.integrations.msteams.test_message_builder",
  697. "tests.sentry.integrations.slack.test_requests",
  698. "tests.sentry.issues.test_utils",
  699. "tests.sentry.models.test_organizationmember",
  700. "tests.sentry.replays.test_project_replay_recording_segment_index",
  701. "tests.sentry.replays.unit.test_dead_click_issue",
  702. "tests.sentry.tasks.test_post_process",
  703. ]
  704. disable_error_code = [
  705. "arg-type",
  706. "assignment",
  707. "attr-defined",
  708. "call-arg",
  709. "call-overload",
  710. "dict-item",
  711. "has-type",
  712. "index",
  713. "list-item",
  714. "misc",
  715. "operator",
  716. "override",
  717. "return-value",
  718. "typeddict-item",
  719. "typeddict-unknown-key",
  720. "union-attr",
  721. "unreachable",
  722. "var-annotated",
  723. ]
  724. # end: sentry modules with typing issues