setup.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [metadata]
  2. name = sentry
  3. version = 24.10.0.dev0
  4. description = A realtime logging and aggregation server.
  5. long_description = file: README.md
  6. long_description_content_type = text/markdown
  7. url = https://sentry.io
  8. author = Sentry
  9. author_email = oss@sentry.io
  10. license = FSL-1.0-Apache-2.0
  11. license_files = LICENSE.md
  12. classifiers =
  13. Framework :: Django
  14. Intended Audience :: Developers
  15. Intended Audience :: System Administrators
  16. License :: Other/Proprietary License
  17. Operating System :: POSIX :: Linux
  18. Programming Language :: Python :: 3
  19. Programming Language :: Python :: 3 :: Only
  20. Topic :: Software Development
  21. [options]
  22. packages = find:
  23. python_requires = >=3.11
  24. include_package_data = True
  25. package_dir =
  26. =src
  27. zip_safe = False
  28. [options.packages.find]
  29. where = src
  30. [options.entry_points]
  31. console_scripts =
  32. sentry = sentry.__main__:main
  33. sentry.apps =
  34. # TODO: This can be removed once the getsentry tests no longer check for this app
  35. auth_activedirectory = sentry.auth.providers.saml2.activedirectory
  36. auth_auth0 = sentry.auth.providers.saml2.auth0
  37. auth_github = sentry.auth.providers.github
  38. auth_jumpcloud = sentry.auth.providers.saml2.jumpcloud
  39. auth_okta = sentry.auth.providers.saml2.okta
  40. auth_onelogin = sentry.auth.providers.saml2.onelogin
  41. auth_rippling = sentry.auth.providers.saml2.rippling
  42. auth_saml2 = sentry.auth.providers.saml2.generic
  43. jira = sentry_plugins.jira
  44. opsgenie = sentry_plugins.opsgenie
  45. redmine = sentry_plugins.redmine
  46. sessionstack = sentry_plugins.sessionstack
  47. trello = sentry_plugins.trello
  48. twilio = sentry_plugins.twilio
  49. sentry.plugins =
  50. amazon_sqs = sentry_plugins.amazon_sqs.plugin:AmazonSQSPlugin
  51. asana = sentry_plugins.asana.plugin:AsanaPlugin
  52. bitbucket = sentry_plugins.bitbucket.plugin:BitbucketPlugin
  53. github = sentry_plugins.github.plugin:GitHubPlugin
  54. gitlab = sentry_plugins.gitlab.plugin:GitLabPlugin
  55. heroku = sentry_plugins.heroku.plugin:HerokuPlugin
  56. jira = sentry_plugins.jira.plugin:JiraPlugin
  57. opsgenie = sentry_plugins.opsgenie.plugin:OpsGeniePlugin
  58. pagerduty = sentry_plugins.pagerduty.plugin:PagerDutyPlugin
  59. phabricator = sentry_plugins.phabricator.plugin:PhabricatorPlugin
  60. pivotal = sentry_plugins.pivotal.plugin:PivotalPlugin
  61. pushover = sentry_plugins.pushover.plugin:PushoverPlugin
  62. redmine = sentry_plugins.redmine.plugin:RedminePlugin
  63. segment = sentry_plugins.segment.plugin:SegmentPlugin
  64. sessionstack = sentry_plugins.sessionstack.plugin:SessionStackPlugin
  65. slack = sentry_plugins.slack.plugin:SlackPlugin
  66. splunk = sentry_plugins.splunk.plugin:SplunkPlugin
  67. trello = sentry_plugins.trello.plugin:TrelloPlugin
  68. twilio = sentry_plugins.twilio.plugin:TwilioPlugin
  69. victorops = sentry_plugins.victorops.plugin:VictorOpsPlugin
  70. [options.package_data]
  71. sentry =
  72. static/sentry/dist/**
  73. static/sentry/images/**
  74. static/sentry/js/**
  75. static/sentry/vendor/**
  76. [options.exclude_package_data]
  77. sentry =
  78. static/sentry/app/**
  79. static/sentry/fonts/**
  80. static/sentry/less/**
  81. [flake8]
  82. # File filtering is taken care of in pre-commit.
  83. # E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
  84. # B011 We don't use PYTHONOPTIMIZE.
  85. # XXX: E501 is ignored, which disables line length checking.
  86. # Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
  87. # We already have a lot of E501's - these are lines black didn't wrap.
  88. # But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
  89. extend-ignore = E203,E501,E402,E731,B007,B009,B010,B011,B020,B023,B024,B026,B027
  90. per-file-ignores =
  91. # these scripts must have minimal dependencies so opt out of the usual sentry rules
  92. .github/*: S
  93. devenv/sync.py: S
  94. src/sentry/build/*: S
  95. tools/*: S
  96. # testing the options manager itself
  97. src/sentry/testutils/helpers/options.py, tests/sentry/options/test_manager.py: S011
  98. [flake8:local-plugins]
  99. paths = .
  100. extension =
  101. S=tools.flake8_plugin:SentryCheck
  102. [bdist_wheel]
  103. python-tag = py38
  104. [coverage:run]
  105. omit =
  106. src/sentry/migrations/*
  107. plugins = covdefaults
  108. [coverage:report]
  109. # Setting this to 0 makes it falsy, and it gets ignored, so we set it to
  110. # a value we'll never fall below. (0 is the default, but it's changed to 100 by
  111. # covdefaults, so this just changes it back.)
  112. fail_under = 0.01