setup.cfg 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. [metadata]
  2. name = sentry
  3. version = 23.11.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 = BSL-1.1
  11. license_file = LICENSE
  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.8
  20. Programming Language :: Python :: 3 :: Only
  21. Topic :: Software Development
  22. [options]
  23. packages = find:
  24. python_requires = >=3.8
  25. include_package_data = True
  26. package_dir =
  27. =src
  28. zip_safe = False
  29. [options.packages.find]
  30. where = src
  31. [options.entry_points]
  32. console_scripts =
  33. sentry = sentry.runner:main
  34. sentry.apps =
  35. # TODO: This can be removed once the getsentry tests no longer check for this app
  36. auth_activedirectory = sentry.auth.providers.saml2.activedirectory
  37. auth_auth0 = sentry.auth.providers.saml2.auth0
  38. auth_github = sentry.auth.providers.github
  39. auth_jumpcloud = sentry.auth.providers.saml2.jumpcloud
  40. auth_okta = sentry.auth.providers.saml2.okta
  41. auth_onelogin = sentry.auth.providers.saml2.onelogin
  42. auth_rippling = sentry.auth.providers.saml2.rippling
  43. auth_saml2 = sentry.auth.providers.saml2.generic
  44. jira = sentry_plugins.jira
  45. opsgenie = sentry_plugins.opsgenie
  46. redmine = sentry_plugins.redmine
  47. sessionstack = sentry_plugins.sessionstack
  48. trello = sentry_plugins.trello
  49. twilio = sentry_plugins.twilio
  50. sentry.plugins =
  51. amazon_sqs = sentry_plugins.amazon_sqs.plugin:AmazonSQSPlugin
  52. asana = sentry_plugins.asana.plugin:AsanaPlugin
  53. bitbucket = sentry_plugins.bitbucket.plugin:BitbucketPlugin
  54. github = sentry_plugins.github.plugin:GitHubPlugin
  55. gitlab = sentry_plugins.gitlab.plugin:GitLabPlugin
  56. heroku = sentry_plugins.heroku.plugin:HerokuPlugin
  57. jira = sentry_plugins.jira.plugin:JiraPlugin
  58. opsgenie = sentry_plugins.opsgenie.plugin:OpsGeniePlugin
  59. pagerduty = sentry_plugins.pagerduty.plugin:PagerDutyPlugin
  60. phabricator = sentry_plugins.phabricator.plugin:PhabricatorPlugin
  61. pivotal = sentry_plugins.pivotal.plugin:PivotalPlugin
  62. pushover = sentry_plugins.pushover.plugin:PushoverPlugin
  63. redmine = sentry_plugins.redmine.plugin:RedminePlugin
  64. segment = sentry_plugins.segment.plugin:SegmentPlugin
  65. sessionstack = sentry_plugins.sessionstack.plugin:SessionStackPlugin
  66. slack = sentry_plugins.slack.plugin:SlackPlugin
  67. splunk = sentry_plugins.splunk.plugin:SplunkPlugin
  68. trello = sentry_plugins.trello.plugin:TrelloPlugin
  69. twilio = sentry_plugins.twilio.plugin:TwilioPlugin
  70. victorops = sentry_plugins.victorops.plugin:VictorOpsPlugin
  71. [options.package_data]
  72. sentry =
  73. static/sentry/dist/**
  74. static/sentry/images/**
  75. static/sentry/js/**
  76. static/sentry/vendor/**
  77. [options.exclude_package_data]
  78. sentry =
  79. static/sentry/app/**
  80. static/sentry/fonts/**
  81. static/sentry/less/**
  82. [flake8]
  83. # File filtering is taken care of in pre-commit.
  84. # B error codes come from flake8-bugbear. List of codes: https://github.com/PyCQA/flake8-bugbear#list-of-warnings
  85. # E error codes come from pycodestyle. List of codes: https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
  86. # F error codes come from flake8. List of codes: https://flake8.pycqa.org/en/latest/user/error-codes.html
  87. # S error codes come from sentry-flake8. List of codes: https://github.com/getsentry/sentry/blob/master/tools/flake8_plugin.py
  88. # E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
  89. # B011 We don't use PYTHONOPTIMIZE.
  90. # XXX: E501 is ignored, which disables line length checking.
  91. # Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
  92. # We already have a lot of E501's - these are lines black didn't wrap.
  93. # But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
  94. extend-ignore = E203,E501,E402,E731,B007,B009,B010,B011,B020,B023,B024,B026,B027
  95. per-file-ignores =
  96. # these scripts must have minimal dependencies so opt out of the usual sentry rules
  97. tools/*: S
  98. .github/*: S
  99. [flake8:local-plugins]
  100. paths = .
  101. extension =
  102. S=tools.flake8_plugin:SentryCheck
  103. [bdist_wheel]
  104. python-tag = py38
  105. [coverage:run]
  106. omit =
  107. src/sentry/migrations/*
  108. plugins = covdefaults
  109. [coverage:report]
  110. # Setting this to 0 makes it falsy, and it gets ignored, so we set it to
  111. # a value we'll never fall below. (0 is the default, but it's changed to 100 by
  112. # covdefaults, so this just changes it back.)
  113. fail_under = 0.01