setup.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. [metadata]
  2. name = sentry
  3. version = 24.3.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.runner: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. tools/*: S
  93. .github/*: S
  94. devenv/sync.py: S
  95. # testing the options manager itself
  96. src/sentry/testutils/helpers/options.py, tests/sentry/options/test_manager.py: S011
  97. [flake8:local-plugins]
  98. paths = .
  99. extension =
  100. S=tools.flake8_plugin:SentryCheck
  101. [bdist_wheel]
  102. python-tag = py38
  103. [coverage:run]
  104. omit =
  105. src/sentry/migrations/*
  106. plugins = covdefaults
  107. [coverage:report]
  108. # Setting this to 0 makes it falsy, and it gets ignored, so we set it to
  109. # a value we'll never fall below. (0 is the default, but it's changed to 100 by
  110. # covdefaults, so this just changes it back.)
  111. fail_under = 0.01