pyproject.toml 37 KB

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