pyproject.toml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865
  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. # At writing, the Google Bigtable Emulator relies on deprecated behavior
  32. # internally, this can be removed once a version containing this fix is
  33. # released: https://github.com/googleapis/python-bigtable/pull/246
  34. "ignore:The `channel` argument is deprecated; use `transport` instead.:PendingDeprecationWarning:google.cloud.bigtable*",
  35. # The following warning filters are for pytest only.
  36. # This is so we don't have to wrap most datetime objects in testing code
  37. # with django.utils.timezone.
  38. "ignore:DateTimeField.*naive datetime:RuntimeWarning",
  39. "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
  40. # pytest has not yet implemented the replacement for this yet
  41. "ignore:The --looponfail command line argument.*",
  42. ]
  43. looponfailroots = ["src", "tests"]
  44. [tool.mypy]
  45. python_version = "3.8"
  46. mypy_path = ["fixtures/stubs-for-mypy"]
  47. plugins = ["pydantic.mypy", "mypy_django_plugin.main", "tools.mypy_helpers.plugin"]
  48. files = ["."]
  49. exclude = ["^.venv/", "^self-hosted/"]
  50. # minimal strictness settings
  51. check_untyped_defs = true
  52. no_implicit_reexport = true
  53. warn_unreachable = true
  54. warn_unused_configs = true
  55. warn_unused_ignores = true
  56. warn_redundant_casts = true
  57. [tool.django-stubs]
  58. django_settings_module = "sentry.conf.server_mypy"
  59. # these have py.typed but incorrect types
  60. [[tool.mypy.overrides]]
  61. module = [
  62. # TODO: these cause type errors when followed
  63. "snuba_sdk.*",
  64. # this package marks itself as typed but has no annotations
  65. "google.cloud.bigtable.*",
  66. # https://github.com/googleapis/python-api-core/pull/453
  67. "google.api_core.retry",
  68. ]
  69. follow_imports = "skip"
  70. # https://github.com/python/mypy/issues/15343
  71. [[tool.mypy.overrides]]
  72. module = "google.*"
  73. ignore_missing_imports = true
  74. # python3 -m tools.mypy_helpers.make_stub_ignores
  75. # begin: missing 3rd party stubs
  76. # - add .pyi files to fixtures/stubs-for-mypy
  77. # - or find a 3rd party stub
  78. [[tool.mypy.overrides]]
  79. module = [
  80. "amqp.*",
  81. "boto3.*",
  82. "botocore.client.*",
  83. "botocore.exceptions.*",
  84. "celery.*",
  85. "confluent_kafka.*",
  86. "cssselect.*",
  87. "datadog.*",
  88. "django_zero_downtime_migrations.backends.postgres.schema.*",
  89. "docker.*",
  90. "fido2.*",
  91. "honcho.manager.*",
  92. "honcho.printer.*",
  93. "kombu.*",
  94. "mistune.*",
  95. "onelogin.saml2.auth.*",
  96. "onelogin.saml2.constants.*",
  97. "onelogin.saml2.idp_metadata_parser.*",
  98. "openapi_core.*",
  99. "phabricator.*",
  100. "progressbar.*",
  101. "rb.*",
  102. "rediscluster.*",
  103. "requests_oauthlib.*",
  104. "sqlparse.*",
  105. "statsd.*",
  106. "u2flib_server.model.*",
  107. "ua_parser.user_agent_parser.*",
  108. "unidiff.*",
  109. "uwsgi.*",
  110. "uwsgidecorators.*",
  111. ]
  112. ignore_missing_imports = true
  113. # end: missing 3rd party stubs
  114. # python3 -m tools.mypy_helpers.make_module_ignores
  115. # begin: sentry modules with typing issues
  116. # - remove the module from the list and fix the issues!
  117. # - python3 -m tools.mypy_helpers.find_easiest_modules
  118. [[tool.mypy.overrides]]
  119. module = [
  120. "sentry.api.base",
  121. "sentry.api.bases.doc_integrations",
  122. "sentry.api.bases.external_actor",
  123. "sentry.api.bases.group",
  124. "sentry.api.bases.incident",
  125. "sentry.api.bases.integration",
  126. "sentry.api.bases.organization_events",
  127. "sentry.api.bases.organization_request_change",
  128. "sentry.api.bases.organizationmember",
  129. "sentry.api.bases.project",
  130. "sentry.api.bases.project_request_change",
  131. "sentry.api.bases.rule",
  132. "sentry.api.bases.sentryapps",
  133. "sentry.api.bases.team",
  134. "sentry.api.endpoints.accept_organization_invite",
  135. "sentry.api.endpoints.artifact_lookup",
  136. "sentry.api.endpoints.auth_config",
  137. "sentry.api.endpoints.auth_login",
  138. "sentry.api.endpoints.avatar.doc_integration",
  139. "sentry.api.endpoints.avatar.sentry_app",
  140. "sentry.api.endpoints.avatar.user",
  141. "sentry.api.endpoints.catchall",
  142. "sentry.api.endpoints.chunk",
  143. "sentry.api.endpoints.codeowners",
  144. "sentry.api.endpoints.codeowners.details",
  145. "sentry.api.endpoints.codeowners.external_actor.team_details",
  146. "sentry.api.endpoints.codeowners.index",
  147. "sentry.api.endpoints.event_ai_suggested_fix",
  148. "sentry.api.endpoints.event_apple_crash_report",
  149. "sentry.api.endpoints.event_attachments",
  150. "sentry.api.endpoints.group_details",
  151. "sentry.api.endpoints.group_event_details",
  152. "sentry.api.endpoints.group_events",
  153. "sentry.api.endpoints.group_external_issues",
  154. "sentry.api.endpoints.group_hashes",
  155. "sentry.api.endpoints.group_hashes_split",
  156. "sentry.api.endpoints.group_integration_details",
  157. "sentry.api.endpoints.group_integrations",
  158. "sentry.api.endpoints.group_notes",
  159. "sentry.api.endpoints.group_similar_issues",
  160. "sentry.api.endpoints.group_stats",
  161. "sentry.api.endpoints.group_tagkey_details",
  162. "sentry.api.endpoints.group_tagkey_values",
  163. "sentry.api.endpoints.group_tags",
  164. "sentry.api.endpoints.index",
  165. "sentry.api.endpoints.integration_features",
  166. "sentry.api.endpoints.integrations.index",
  167. "sentry.api.endpoints.integrations.install_request",
  168. "sentry.api.endpoints.integrations.organization_integrations.index",
  169. "sentry.api.endpoints.integrations.plugins.configs_index",
  170. "sentry.api.endpoints.integrations.sentry_apps.authorizations",
  171. "sentry.api.endpoints.integrations.sentry_apps.details",
  172. "sentry.api.endpoints.integrations.sentry_apps.index",
  173. "sentry.api.endpoints.integrations.sentry_apps.installation.details",
  174. "sentry.api.endpoints.integrations.sentry_apps.installation.external_issue.actions",
  175. "sentry.api.endpoints.integrations.sentry_apps.installation.external_issue.index",
  176. "sentry.api.endpoints.integrations.sentry_apps.installation.external_requests",
  177. "sentry.api.endpoints.integrations.sentry_apps.installation.index",
  178. "sentry.api.endpoints.integrations.sentry_apps.interaction",
  179. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.details",
  180. "sentry.api.endpoints.integrations.sentry_apps.internal_app_token.index",
  181. "sentry.api.endpoints.integrations.sentry_apps.organization_sentry_apps",
  182. "sentry.api.endpoints.integrations.sentry_apps.publish_request",
  183. "sentry.api.endpoints.integrations.sentry_apps.requests",
  184. "sentry.api.endpoints.integrations.sentry_apps.stats.details",
  185. "sentry.api.endpoints.integrations.sentry_apps.stats.index",
  186. "sentry.api.endpoints.internal.mail",
  187. "sentry.api.endpoints.internal.stats",
  188. "sentry.api.endpoints.issue_occurrence",
  189. "sentry.api.endpoints.notifications.notification_actions_available",
  190. "sentry.api.endpoints.notifications.notification_actions_details",
  191. "sentry.api.endpoints.organization_access_request_details",
  192. "sentry.api.endpoints.organization_auth_provider_send_reminders",
  193. "sentry.api.endpoints.organization_code_mapping_codeowners",
  194. "sentry.api.endpoints.organization_code_mapping_details",
  195. "sentry.api.endpoints.organization_code_mappings",
  196. "sentry.api.endpoints.organization_dashboard_details",
  197. "sentry.api.endpoints.organization_dashboards",
  198. "sentry.api.endpoints.organization_derive_code_mappings",
  199. "sentry.api.endpoints.organization_details",
  200. "sentry.api.endpoints.organization_events",
  201. "sentry.api.endpoints.organization_events_facets",
  202. "sentry.api.endpoints.organization_events_facets_performance",
  203. "sentry.api.endpoints.organization_events_facets_stats_performance",
  204. "sentry.api.endpoints.organization_events_has_measurements",
  205. "sentry.api.endpoints.organization_events_meta",
  206. "sentry.api.endpoints.organization_events_spans_performance",
  207. "sentry.api.endpoints.organization_events_stats",
  208. "sentry.api.endpoints.organization_events_trace",
  209. "sentry.api.endpoints.organization_events_trends",
  210. "sentry.api.endpoints.organization_group_index",
  211. "sentry.api.endpoints.organization_group_index_stats",
  212. "sentry.api.endpoints.organization_index",
  213. "sentry.api.endpoints.organization_integration_repos",
  214. "sentry.api.endpoints.organization_issues_count",
  215. "sentry.api.endpoints.organization_member.details",
  216. "sentry.api.endpoints.organization_member.index",
  217. "sentry.api.endpoints.organization_member.requests.invite.details",
  218. "sentry.api.endpoints.organization_member.requests.join",
  219. "sentry.api.endpoints.organization_member_unreleased_commits",
  220. "sentry.api.endpoints.organization_metrics",
  221. "sentry.api.endpoints.organization_metrics_meta",
  222. "sentry.api.endpoints.organization_onboarding_continuation_email",
  223. "sentry.api.endpoints.organization_projects",
  224. "sentry.api.endpoints.organization_projects_experiment",
  225. "sentry.api.endpoints.organization_release_details",
  226. "sentry.api.endpoints.organization_releases",
  227. "sentry.api.endpoints.organization_repositories",
  228. "sentry.api.endpoints.organization_repository_details",
  229. "sentry.api.endpoints.organization_request_project_creation",
  230. "sentry.api.endpoints.organization_search_details",
  231. "sentry.api.endpoints.organization_searches",
  232. "sentry.api.endpoints.organization_sentry_function_details",
  233. "sentry.api.endpoints.organization_sessions",
  234. "sentry.api.endpoints.organization_stats",
  235. "sentry.api.endpoints.organization_tagkey_values",
  236. "sentry.api.endpoints.organization_tags",
  237. "sentry.api.endpoints.organization_teams",
  238. "sentry.api.endpoints.project_app_store_connect_credentials",
  239. "sentry.api.endpoints.project_artifact_bundle_file_details",
  240. "sentry.api.endpoints.project_details",
  241. "sentry.api.endpoints.project_event_details",
  242. "sentry.api.endpoints.project_group_index",
  243. "sentry.api.endpoints.project_group_stats",
  244. "sentry.api.endpoints.project_index",
  245. "sentry.api.endpoints.project_key_stats",
  246. "sentry.api.endpoints.project_ownership",
  247. "sentry.api.endpoints.project_release_files",
  248. "sentry.api.endpoints.project_release_stats",
  249. "sentry.api.endpoints.project_repo_path_parsing",
  250. "sentry.api.endpoints.project_rule_details",
  251. "sentry.api.endpoints.project_rule_preview",
  252. "sentry.api.endpoints.project_rule_task_details",
  253. "sentry.api.endpoints.project_rules",
  254. "sentry.api.endpoints.project_rules_configuration",
  255. "sentry.api.endpoints.project_servicehook_stats",
  256. "sentry.api.endpoints.project_stacktrace_link",
  257. "sentry.api.endpoints.project_stacktrace_links",
  258. "sentry.api.endpoints.project_stats",
  259. "sentry.api.endpoints.project_tagkey_details",
  260. "sentry.api.endpoints.project_tagkey_values",
  261. "sentry.api.endpoints.project_tags",
  262. "sentry.api.endpoints.project_transaction_names",
  263. "sentry.api.endpoints.project_transfer",
  264. "sentry.api.endpoints.project_user_stats",
  265. "sentry.api.endpoints.prompts_activity",
  266. "sentry.api.endpoints.rule_snooze",
  267. "sentry.api.endpoints.setup_wizard",
  268. "sentry.api.endpoints.shared_group_details",
  269. "sentry.api.endpoints.source_map_debug",
  270. "sentry.api.endpoints.system_options",
  271. "sentry.api.endpoints.team_details",
  272. "sentry.api.endpoints.team_notification_settings_details",
  273. "sentry.api.endpoints.team_release_count",
  274. "sentry.api.endpoints.team_stats",
  275. "sentry.api.endpoints.team_time_to_resolution",
  276. "sentry.api.endpoints.user_authenticator_enroll",
  277. "sentry.api.endpoints.user_details",
  278. "sentry.api.endpoints.user_emails_confirm",
  279. "sentry.api.endpoints.user_identity_config",
  280. "sentry.api.endpoints.user_index",
  281. "sentry.api.endpoints.user_notification_details",
  282. "sentry.api.endpoints.user_notification_fine_tuning",
  283. "sentry.api.endpoints.user_notification_settings_details",
  284. "sentry.api.endpoints.user_permission_details",
  285. "sentry.api.endpoints.user_permissions",
  286. "sentry.api.endpoints.user_permissions_config",
  287. "sentry.api.endpoints.user_role_details",
  288. "sentry.api.endpoints.user_roles",
  289. "sentry.api.endpoints.user_subscriptions",
  290. "sentry.api.event_search",
  291. "sentry.api.fields.actor",
  292. "sentry.api.helpers.deprecation",
  293. "sentry.api.helpers.events",
  294. "sentry.api.helpers.group_index.delete",
  295. "sentry.api.helpers.group_index.index",
  296. "sentry.api.helpers.group_index.update",
  297. "sentry.api.helpers.group_index.validators.in_commit",
  298. "sentry.api.helpers.group_index.validators.status_details",
  299. "sentry.api.helpers.mobile",
  300. "sentry.api.invite_helper",
  301. "sentry.api.issue_search",
  302. "sentry.api.paginator",
  303. "sentry.api.permissions",
  304. "sentry.api.serializers.models.auth_provider",
  305. "sentry.api.serializers.models.authenticator",
  306. "sentry.api.serializers.models.dashboard",
  307. "sentry.api.serializers.models.doc_integration",
  308. "sentry.api.serializers.models.environment",
  309. "sentry.api.serializers.models.event",
  310. "sentry.api.serializers.models.external_actor",
  311. "sentry.api.serializers.models.group",
  312. "sentry.api.serializers.models.group_stream",
  313. "sentry.api.serializers.models.incident",
  314. "sentry.api.serializers.models.integration",
  315. "sentry.api.serializers.models.integration_feature",
  316. "sentry.api.serializers.models.notification_action",
  317. "sentry.api.serializers.models.organization",
  318. "sentry.api.serializers.models.organization_member.base",
  319. "sentry.api.serializers.models.plugin",
  320. "sentry.api.serializers.models.project",
  321. "sentry.api.serializers.models.projectcodeowners",
  322. "sentry.api.serializers.models.role",
  323. "sentry.api.serializers.models.rule",
  324. "sentry.api.serializers.models.sentry_app",
  325. "sentry.api.serializers.models.team",
  326. "sentry.api.serializers.models.user",
  327. "sentry.api.serializers.models.user_identity_config",
  328. "sentry.api.serializers.rest_framework.dashboard",
  329. "sentry.api.serializers.rest_framework.doc_integration",
  330. "sentry.api.serializers.rest_framework.group_notes",
  331. "sentry.api.serializers.rest_framework.mentions",
  332. "sentry.api.serializers.rest_framework.notification_action",
  333. "sentry.api.serializers.rest_framework.project",
  334. "sentry.api.serializers.rest_framework.release",
  335. "sentry.api.serializers.rest_framework.rule",
  336. "sentry.api.serializers.rest_framework.sentry_app_request",
  337. "sentry.api.serializers.snuba",
  338. "sentry.api.validators.email",
  339. "sentry.auth.access",
  340. "sentry.auth.helper",
  341. "sentry.auth.provider",
  342. "sentry.auth.providers.dummy",
  343. "sentry.auth.providers.github.views",
  344. "sentry.auth.providers.google.apps",
  345. "sentry.auth.providers.google.views",
  346. "sentry.auth.providers.oauth2",
  347. "sentry.auth.providers.saml2.activedirectory.views",
  348. "sentry.auth.providers.saml2.generic.views",
  349. "sentry.auth.providers.saml2.jumpcloud.views",
  350. "sentry.auth.providers.saml2.provider",
  351. "sentry.auth.providers.saml2.rippling.provider",
  352. "sentry.auth.providers.saml2.views",
  353. "sentry.auth.superuser",
  354. "sentry.auth.system",
  355. "sentry.auth.view",
  356. "sentry.db.mixin",
  357. "sentry.db.models.manager.base",
  358. "sentry.db.models.paranoia",
  359. "sentry.db.models.query",
  360. "sentry.db.models.utils",
  361. "sentry.db.postgres.base",
  362. "sentry.db.postgres.creation",
  363. "sentry.db.postgres.decorators",
  364. "sentry.db.postgres.operations",
  365. "sentry.db.router",
  366. "sentry.digests.notifications",
  367. "sentry.discover.endpoints.discover_key_transactions",
  368. "sentry.discover.endpoints.serializers",
  369. "sentry.eventstore.models",
  370. "sentry.features.handler",
  371. "sentry.features.manager",
  372. "sentry.filestore.gcs",
  373. "sentry.filestore.s3",
  374. "sentry.grouping.fingerprinting",
  375. "sentry.grouping.strategies.base",
  376. "sentry.grouping.strategies.configurations",
  377. "sentry.grouping.strategies.hierarchical",
  378. "sentry.grouping.strategies.legacy",
  379. "sentry.grouping.strategies.newstyle",
  380. "sentry.identity.bitbucket.provider",
  381. "sentry.identity.github_enterprise.provider",
  382. "sentry.identity.gitlab.provider",
  383. "sentry.identity.google.provider",
  384. "sentry.identity.oauth2",
  385. "sentry.identity.pipeline",
  386. "sentry.identity.providers.dummy",
  387. "sentry.identity.slack.provider",
  388. "sentry.identity.vsts.provider",
  389. "sentry.incidents.action_handlers",
  390. "sentry.incidents.endpoints.bases",
  391. "sentry.incidents.endpoints.organization_alert_rule_available_action_index",
  392. "sentry.incidents.endpoints.organization_alert_rule_details",
  393. "sentry.incidents.endpoints.organization_alert_rule_index",
  394. "sentry.incidents.endpoints.organization_incident_comment_details",
  395. "sentry.incidents.endpoints.organization_incident_index",
  396. "sentry.incidents.endpoints.project_alert_rule_task_details",
  397. "sentry.incidents.events",
  398. "sentry.incidents.logic",
  399. "sentry.incidents.models",
  400. "sentry.incidents.subscription_processor",
  401. "sentry.incidents.tasks",
  402. "sentry.ingest.inbound_filters",
  403. "sentry.integrations.aws_lambda.integration",
  404. "sentry.integrations.base",
  405. "sentry.integrations.bitbucket.client",
  406. "sentry.integrations.bitbucket.installed",
  407. "sentry.integrations.bitbucket.integration",
  408. "sentry.integrations.bitbucket.issues",
  409. "sentry.integrations.bitbucket.uninstalled",
  410. "sentry.integrations.bitbucket.webhook",
  411. "sentry.integrations.bitbucket_server.client",
  412. "sentry.integrations.bitbucket_server.integration",
  413. "sentry.integrations.bitbucket_server.webhook",
  414. "sentry.integrations.example.integration",
  415. "sentry.integrations.example.repository",
  416. "sentry.integrations.github.client",
  417. "sentry.integrations.github.integration",
  418. "sentry.integrations.github.issues",
  419. "sentry.integrations.github.repository",
  420. "sentry.integrations.github.webhook",
  421. "sentry.integrations.github_enterprise.client",
  422. "sentry.integrations.github_enterprise.integration",
  423. "sentry.integrations.github_enterprise.webhook",
  424. "sentry.integrations.gitlab.client",
  425. "sentry.integrations.gitlab.integration",
  426. "sentry.integrations.gitlab.issues",
  427. "sentry.integrations.gitlab.webhooks",
  428. "sentry.integrations.jira.actions.create_ticket",
  429. "sentry.integrations.jira.actions.form",
  430. "sentry.integrations.jira.client",
  431. "sentry.integrations.jira.endpoints.search",
  432. "sentry.integrations.jira.integration",
  433. "sentry.integrations.jira.views.base",
  434. "sentry.integrations.jira.views.sentry_issue_details",
  435. "sentry.integrations.jira.webhooks.base",
  436. "sentry.integrations.jira.webhooks.issue_updated",
  437. "sentry.integrations.jira_server.client",
  438. "sentry.integrations.jira_server.integration",
  439. "sentry.integrations.jira_server.search",
  440. "sentry.integrations.jira_server.webhooks",
  441. "sentry.integrations.manager",
  442. "sentry.integrations.message_builder",
  443. "sentry.integrations.metric_alerts",
  444. "sentry.integrations.mixins.issues",
  445. "sentry.integrations.mixins.notifications",
  446. "sentry.integrations.mixins.repositories",
  447. "sentry.integrations.msteams.actions.form",
  448. "sentry.integrations.msteams.card_builder.base",
  449. "sentry.integrations.msteams.card_builder.issues",
  450. "sentry.integrations.msteams.card_builder.notifications",
  451. "sentry.integrations.msteams.client",
  452. "sentry.integrations.msteams.integration",
  453. "sentry.integrations.msteams.link_identity",
  454. "sentry.integrations.msteams.notifications",
  455. "sentry.integrations.msteams.webhook",
  456. "sentry.integrations.notifications",
  457. "sentry.integrations.pagerduty.actions.form",
  458. "sentry.integrations.pagerduty.client",
  459. "sentry.integrations.pagerduty.integration",
  460. "sentry.integrations.pipeline",
  461. "sentry.integrations.slack.actions.form",
  462. "sentry.integrations.slack.client",
  463. "sentry.integrations.slack.integration",
  464. "sentry.integrations.slack.message_builder.issues",
  465. "sentry.integrations.slack.message_builder.notifications.digest",
  466. "sentry.integrations.slack.message_builder.notifications.issues",
  467. "sentry.integrations.slack.notifications",
  468. "sentry.integrations.slack.unfurl.discover",
  469. "sentry.integrations.slack.utils.channel",
  470. "sentry.integrations.slack.utils.users",
  471. "sentry.integrations.slack.views.link_identity",
  472. "sentry.integrations.slack.views.link_team",
  473. "sentry.integrations.slack.views.unlink_team",
  474. "sentry.integrations.slack.webhooks.action",
  475. "sentry.integrations.slack.webhooks.base",
  476. "sentry.integrations.slack.webhooks.command",
  477. "sentry.integrations.slack.webhooks.event",
  478. "sentry.integrations.utils.commit_context",
  479. "sentry.integrations.utils.sync",
  480. "sentry.integrations.vercel.client",
  481. "sentry.integrations.vercel.integration",
  482. "sentry.integrations.vercel.webhook",
  483. "sentry.integrations.vsts.client",
  484. "sentry.integrations.vsts.integration",
  485. "sentry.integrations.vsts.issues",
  486. "sentry.integrations.vsts.repository",
  487. "sentry.integrations.vsts_extension.integration",
  488. "sentry.issues.escalating_group_forecast",
  489. "sentry.issues.ingest",
  490. "sentry.issues.issue_occurrence",
  491. "sentry.issues.merge",
  492. "sentry.issues.occurrence_consumer",
  493. "sentry.issues.search",
  494. "sentry.issues.status_change",
  495. "sentry.mail.adapter",
  496. "sentry.mail.notifications",
  497. "sentry.management.commands.makemigrations",
  498. "sentry.management.commands.send_fake_data",
  499. "sentry.management.commands.serve_normalize",
  500. "sentry.middleware.access_log",
  501. "sentry.middleware.auth",
  502. "sentry.middleware.health",
  503. "sentry.middleware.integrations.parsers.base",
  504. "sentry.middleware.integrations.parsers.slack",
  505. "sentry.middleware.ratelimit",
  506. "sentry.middleware.subdomain",
  507. "sentry.middleware.superuser",
  508. "sentry.models.artifactbundle",
  509. "sentry.models.auditlogentry",
  510. "sentry.models.integrations.external_issue",
  511. "sentry.models.integrations.sentry_app",
  512. "sentry.models.integrations.sentry_app_installation",
  513. "sentry.models.notificationsetting",
  514. "sentry.models.organizationaccessrequest",
  515. "sentry.models.organizationmember",
  516. "sentry.monitors.consumers.monitor_consumer",
  517. "sentry.monitors.endpoints.base",
  518. "sentry.monitors.endpoints.monitor_ingest_checkin_attachment",
  519. "sentry.monitors.endpoints.monitor_ingest_checkin_details",
  520. "sentry.monitors.endpoints.monitor_ingest_checkin_index",
  521. "sentry.monitors.endpoints.organization_monitor_checkin_attachment",
  522. "sentry.monitors.endpoints.organization_monitor_details",
  523. "sentry.monitors.endpoints.organization_monitor_index",
  524. "sentry.monitors.utils",
  525. "sentry.monkey.pickle",
  526. "sentry.net.http",
  527. "sentry.net.socket",
  528. "sentry.notifications.additional_attachment_manager",
  529. "sentry.notifications.notifications.activity.base",
  530. "sentry.notifications.notifications.activity.new_processing_issues",
  531. "sentry.notifications.notifications.activity.release",
  532. "sentry.notifications.notifications.integration_nudge",
  533. "sentry.notifications.notifications.rules",
  534. "sentry.notifications.utils.avatar",
  535. "sentry.onboarding_tasks.backends.organization_onboarding_task",
  536. "sentry.onboarding_tasks.base",
  537. "sentry.options.defaults",
  538. "sentry.ownership.grammar",
  539. "sentry.pipeline.base",
  540. "sentry.pipeline.views.base",
  541. "sentry.pipeline.views.nested",
  542. "sentry.plugins.base.notifier",
  543. "sentry.plugins.base.urls",
  544. "sentry.plugins.bases.data_forwarding",
  545. "sentry.plugins.bases.issue",
  546. "sentry.plugins.bases.issue2",
  547. "sentry.plugins.bases.notify",
  548. "sentry.plugins.config",
  549. "sentry.plugins.endpoints",
  550. "sentry.plugins.helpers",
  551. "sentry.plugins.providers.base",
  552. "sentry.plugins.providers.integration_repository",
  553. "sentry.plugins.providers.repository",
  554. "sentry.plugins.sentry_webhooks.plugin",
  555. "sentry.plugins.validators.url",
  556. "sentry.profiles.task",
  557. "sentry.profiles.utils",
  558. "sentry.projectoptions.defaults",
  559. "sentry.queue.command",
  560. "sentry.quotas.redis",
  561. "sentry.receivers.outbox.control",
  562. "sentry.receivers.releases",
  563. "sentry.receivers.sentry_apps",
  564. "sentry.release_health.metrics",
  565. "sentry.release_health.metrics_sessions_v2",
  566. "sentry.release_health.sessions",
  567. "sentry.release_health.tasks",
  568. "sentry.replays.endpoints.project_replay_clicks_index",
  569. "sentry.replays.lib.query",
  570. "sentry.replays.query",
  571. "sentry.reprocessing2",
  572. "sentry.rules.actions.integrations.base",
  573. "sentry.rules.actions.integrations.create_ticket.form",
  574. "sentry.rules.actions.integrations.create_ticket.utils",
  575. "sentry.rules.actions.notify_event_service",
  576. "sentry.rules.conditions.event_attribute",
  577. "sentry.rules.conditions.event_frequency",
  578. "sentry.rules.conditions.level",
  579. "sentry.rules.conditions.tagged_event",
  580. "sentry.rules.filters.assigned_to",
  581. "sentry.rules.filters.latest_release",
  582. "sentry.rules.history.endpoints.project_rule_group_history",
  583. "sentry.rules.history.endpoints.project_rule_stats",
  584. "sentry.rules.history.preview",
  585. "sentry.rules.processor",
  586. "sentry.runner.commands.migrations",
  587. "sentry.runner.importer",
  588. "sentry.runner.initializer",
  589. "sentry.scim.endpoints.members",
  590. "sentry.scim.endpoints.teams",
  591. "sentry.scim.endpoints.utils",
  592. "sentry.sdk_updates",
  593. "sentry.search.events.builder.discover",
  594. "sentry.search.events.builder.metrics",
  595. "sentry.search.events.builder.spans_metrics",
  596. "sentry.search.events.datasets.discover",
  597. "sentry.search.events.datasets.filter_aliases",
  598. "sentry.search.events.datasets.function_aliases",
  599. "sentry.search.events.datasets.metrics",
  600. "sentry.search.events.datasets.metrics_layer",
  601. "sentry.search.events.datasets.profile_functions",
  602. "sentry.search.events.datasets.profiles",
  603. "sentry.search.events.datasets.spans_metrics",
  604. "sentry.search.events.fields",
  605. "sentry.search.events.filter",
  606. "sentry.search.events.types",
  607. "sentry.search.snuba.backend",
  608. "sentry.search.snuba.executors",
  609. "sentry.search.utils",
  610. "sentry.sentry_apps.apps",
  611. "sentry.sentry_apps.components",
  612. "sentry.sentry_apps.installations",
  613. "sentry.sentry_metrics.configuration",
  614. "sentry.sentry_metrics.consumers.indexer.slicing_router",
  615. "sentry.sentry_metrics.indexer.postgres.postgres_v2",
  616. "sentry.services.smtp",
  617. "sentry.shared_integrations.client.base",
  618. "sentry.shared_integrations.client.internal",
  619. "sentry.shared_integrations.client.proxy",
  620. "sentry.silo.base",
  621. "sentry.similarity.backends.dummy",
  622. "sentry.similarity.features",
  623. "sentry.snuba.discover",
  624. "sentry.snuba.issue_platform",
  625. "sentry.snuba.metrics.datasource",
  626. "sentry.snuba.metrics.fields.base",
  627. "sentry.snuba.metrics.query_builder",
  628. "sentry.snuba.metrics_enhanced_performance",
  629. "sentry.snuba.metrics_performance",
  630. "sentry.snuba.models",
  631. "sentry.snuba.sessions",
  632. "sentry.snuba.sessions_v2",
  633. "sentry.snuba.spans_indexed",
  634. "sentry.snuba.spans_metrics",
  635. "sentry.snuba.tasks",
  636. "sentry.stacktraces.functions",
  637. "sentry.tagstore.base",
  638. "sentry.tagstore.query",
  639. "sentry.tagstore.snuba.backend",
  640. "sentry.tagstore.types",
  641. "sentry.tasks.auth",
  642. "sentry.tasks.base",
  643. "sentry.tasks.beacon",
  644. "sentry.tasks.check_auth",
  645. "sentry.tasks.codeowners.update_code_owners_schema",
  646. "sentry.tasks.commit_context",
  647. "sentry.tasks.commits",
  648. "sentry.tasks.deliver_from_outbox",
  649. "sentry.tasks.digests",
  650. "sentry.tasks.groupowner",
  651. "sentry.tasks.integrations",
  652. "sentry.tasks.integrations.create_comment",
  653. "sentry.tasks.integrations.github.pr_comment",
  654. "sentry.tasks.integrations.migrate_issues",
  655. "sentry.tasks.integrations.migrate_repo",
  656. "sentry.tasks.integrations.slack.find_channel_id_for_rule",
  657. "sentry.tasks.integrations.slack.link_slack_user_identities",
  658. "sentry.tasks.integrations.sync_assignee_outbound_impl",
  659. "sentry.tasks.integrations.sync_status_inbound",
  660. "sentry.tasks.integrations.sync_status_outbound",
  661. "sentry.tasks.integrations.update_comment",
  662. "sentry.tasks.merge",
  663. "sentry.tasks.post_process",
  664. "sentry.tasks.process_buffer",
  665. "sentry.tasks.reprocessing2",
  666. "sentry.tasks.sentry_apps",
  667. "sentry.tasks.servicehooks",
  668. "sentry.tasks.store",
  669. "sentry.tasks.unmerge",
  670. "sentry.templatetags.sentry_admin_helpers",
  671. "sentry.templatetags.sentry_assets",
  672. "sentry.templatetags.sentry_helpers",
  673. "sentry.templatetags.sentry_plugins",
  674. "sentry.testutils.asserts",
  675. "sentry.testutils.cases",
  676. "sentry.testutils.factories",
  677. "sentry.testutils.fixtures",
  678. "sentry.testutils.helpers.features",
  679. "sentry.testutils.helpers.notifications",
  680. "sentry.testutils.helpers.slack",
  681. "sentry.testutils.helpers.task_runner",
  682. "sentry.testutils.performance_issues.span_builder",
  683. "sentry.testutils.performance_issues.store_transaction",
  684. "sentry.tsdb.base",
  685. "sentry.tsdb.dummy",
  686. "sentry.tsdb.inmemory",
  687. "sentry.tsdb.redis",
  688. "sentry.tsdb.snuba",
  689. "sentry.types.integrations",
  690. "sentry.utils.audit",
  691. "sentry.utils.auth",
  692. "sentry.utils.committers",
  693. "sentry.utils.concurrent",
  694. "sentry.utils.distutils.commands.base",
  695. "sentry.utils.distutils.commands.build_assets",
  696. "sentry.utils.email.signer",
  697. "sentry.utils.locking.backends.migration",
  698. "sentry.utils.metrics",
  699. "sentry.utils.performance_issues.detectors.io_main_thread_detector",
  700. "sentry.utils.performance_issues.detectors.mn_plus_one_db_span_detector",
  701. "sentry.utils.performance_issues.detectors.n_plus_one_api_calls_detector",
  702. "sentry.utils.performance_issues.detectors.n_plus_one_db_span_detector",
  703. "sentry.utils.performance_issues.detectors.render_blocking_asset_span_detector",
  704. "sentry.utils.performance_issues.detectors.slow_db_query_detector",
  705. "sentry.utils.performance_issues.performance_detection",
  706. "sentry.utils.query",
  707. "sentry.utils.redis",
  708. "sentry.utils.sdk",
  709. "sentry.utils.sentry_apps.webhooks",
  710. "sentry.utils.services",
  711. "sentry.utils.snowflake",
  712. "sentry.utils.snuba",
  713. "sentry.utils.suspect_resolutions.get_suspect_resolutions",
  714. "sentry.utils.suspect_resolutions.metric_correlation",
  715. "sentry.utils.suspect_resolutions_releases.get_suspect_resolutions_releases",
  716. "sentry.web.client_config",
  717. "sentry.web.forms.accounts",
  718. "sentry.web.frontend.account_identity",
  719. "sentry.web.frontend.accounts",
  720. "sentry.web.frontend.auth_close",
  721. "sentry.web.frontend.auth_login",
  722. "sentry.web.frontend.auth_logout",
  723. "sentry.web.frontend.auth_organization_login",
  724. "sentry.web.frontend.auth_provider_login",
  725. "sentry.web.frontend.base",
  726. "sentry.web.frontend.debug.debug_assigned_email",
  727. "sentry.web.frontend.debug.debug_codeowners_auto_sync_failure_email",
  728. "sentry.web.frontend.debug.debug_incident_activity_email",
  729. "sentry.web.frontend.debug.debug_incident_trigger_email",
  730. "sentry.web.frontend.debug.debug_invalid_identity_email",
  731. "sentry.web.frontend.debug.debug_mfa_added_email",
  732. "sentry.web.frontend.debug.debug_mfa_removed_email",
  733. "sentry.web.frontend.debug.debug_new_processing_issues_email",
  734. "sentry.web.frontend.debug.debug_organization_integration_request",
  735. "sentry.web.frontend.debug.debug_organization_invite_request",
  736. "sentry.web.frontend.debug.debug_organization_join_request",
  737. "sentry.web.frontend.debug.debug_password_changed_email",
  738. "sentry.web.frontend.debug.debug_recovery_codes_regenerated_email",
  739. "sentry.web.frontend.debug.debug_trigger_error",
  740. "sentry.web.frontend.debug.mail",
  741. "sentry.web.frontend.disabled_member_view",
  742. "sentry.web.frontend.error_404",
  743. "sentry.web.frontend.error_500",
  744. "sentry.web.frontend.error_page_embed",
  745. "sentry.web.frontend.generic",
  746. "sentry.web.frontend.group_plugin_action",
  747. "sentry.web.frontend.idp_email_verification",
  748. "sentry.web.frontend.integration_extension_configuration",
  749. "sentry.web.frontend.js_sdk_loader",
  750. "sentry.web.frontend.newest_issue",
  751. "sentry.web.frontend.oauth_authorize",
  752. "sentry.web.frontend.oauth_token",
  753. "sentry.web.frontend.organization_integration_setup",
  754. "sentry.web.frontend.out",
  755. "sentry.web.frontend.pipeline_advancer",
  756. "sentry.web.frontend.project_event",
  757. "sentry.web.frontend.react_page",
  758. "sentry.web.frontend.reactivate_account",
  759. "sentry.web.frontend.setup_wizard",
  760. "sentry.web.frontend.shared_group_details",
  761. "sentry.web.frontend.twofactor",
  762. "sentry.web.frontend.unsubscribe_notifications",
  763. "sentry_plugins.asana.plugin",
  764. "sentry_plugins.base",
  765. "sentry_plugins.bitbucket.client",
  766. "sentry_plugins.bitbucket.endpoints.webhook",
  767. "sentry_plugins.bitbucket.mixins",
  768. "sentry_plugins.bitbucket.plugin",
  769. "sentry_plugins.bitbucket.repository_provider",
  770. "sentry_plugins.client",
  771. "sentry_plugins.github.client",
  772. "sentry_plugins.github.options",
  773. "sentry_plugins.github.plugin",
  774. "sentry_plugins.github.webhooks.base",
  775. "sentry_plugins.github.webhooks.events.push",
  776. "sentry_plugins.github.webhooks.integration",
  777. "sentry_plugins.heroku.plugin",
  778. "sentry_plugins.jira.client",
  779. "sentry_plugins.jira.plugin",
  780. "sentry_plugins.pivotal.plugin",
  781. "sentry_plugins.pushover.plugin",
  782. "sentry_plugins.redmine.forms",
  783. "sentry_plugins.redmine.plugin",
  784. "sentry_plugins.slack.plugin",
  785. "sentry_plugins.splunk.plugin",
  786. "sentry_plugins.trello.plugin",
  787. "sentry_plugins.twilio.plugin",
  788. "tests.sentry.api.bases.test_organization",
  789. "tests.sentry.api.bases.test_project",
  790. "tests.sentry.api.bases.test_sentryapps",
  791. "tests.sentry.api.bases.test_team",
  792. "tests.sentry.api.endpoints.notifications.test_notification_actions_details",
  793. "tests.sentry.api.endpoints.notifications.test_notification_actions_index",
  794. "tests.sentry.api.endpoints.test_event_attachment_details",
  795. "tests.sentry.api.endpoints.test_organization_metrics",
  796. "tests.sentry.api.helpers.test_group_index",
  797. "tests.sentry.api.serializers.test_project",
  798. "tests.sentry.api.test_authentication",
  799. "tests.sentry.api.test_base",
  800. "tests.sentry.api.test_event_search",
  801. "tests.sentry.api.test_invite_helper",
  802. "tests.sentry.api.test_issue_search",
  803. "tests.sentry.digests.test_notifications",
  804. "tests.sentry.eventstore.test_base",
  805. "tests.sentry.grouping.test_result",
  806. "tests.sentry.identity.test_oauth2",
  807. "tests.sentry.incidents.test_logic",
  808. "tests.sentry.ingest.test_slicing",
  809. "tests.sentry.integrations.github.test_client",
  810. "tests.sentry.integrations.msteams.test_message_builder",
  811. "tests.sentry.integrations.slack.test_requests",
  812. "tests.sentry.issues.test_utils",
  813. "tests.sentry.lang.javascript.test_processor",
  814. "tests.sentry.models.test_organizationmember",
  815. "tests.sentry.models.test_project",
  816. "tests.sentry.release_health.release_monitor",
  817. "tests.sentry.replays.test_project_replay_recording_segment_details",
  818. "tests.sentry.replays.test_project_replay_recording_segment_index",
  819. "tests.sentry.replays.unit.test_dead_click_issue",
  820. "tests.sentry.search.events.builder.test_metrics",
  821. "tests.sentry.search.events.test_fields",
  822. "tests.sentry.sentry_apps.test_sentry_app_creator",
  823. "tests.sentry.sentry_metrics.consumers.test_slicing_router",
  824. "tests.sentry.sentry_metrics.limiters.test_writes_limiter",
  825. "tests.sentry.sentry_metrics.test_base_indexer",
  826. "tests.sentry.sentry_metrics.test_batch",
  827. "tests.sentry.tagstore.test_types",
  828. "tests.sentry.tasks.test_post_process",
  829. "tests.sentry.web.test_client_config",
  830. ]
  831. disable_error_code = [
  832. "arg-type",
  833. "assignment",
  834. "attr-defined",
  835. "call-arg",
  836. "call-overload",
  837. "dict-item",
  838. "func-returns-value",
  839. "has-type",
  840. "index",
  841. "list-item",
  842. "misc",
  843. "operator",
  844. "override",
  845. "return-value",
  846. "typeddict-item",
  847. "typeddict-unknown-key",
  848. "union-attr",
  849. "unreachable",
  850. "var-annotated",
  851. ]
  852. # end: sentry modules with typing issues