pyproject.toml 38 KB

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