setup.cfg 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. [metadata]
  2. name = sentry
  3. version = 24.1.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_file = 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.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. # E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
  85. # B011 We don't use PYTHONOPTIMIZE.
  86. # XXX: E501 is ignored, which disables line length checking.
  87. # Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
  88. # We already have a lot of E501's - these are lines black didn't wrap.
  89. # But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
  90. extend-ignore = E203,E501,E402,E731,B007,B009,B010,B011,B020,B023,B024,B026,B027
  91. per-file-ignores =
  92. # these scripts must have minimal dependencies so opt out of the usual sentry rules
  93. tools/*: S
  94. .github/*: 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