setup.cfg 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [metadata]
  2. name = sentry
  3. version = 22.12.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. freight = sentry_plugins.freight
  45. jira = sentry_plugins.jira
  46. opsgenie = sentry_plugins.opsgenie
  47. redmine = sentry_plugins.redmine
  48. sessionstack = sentry_plugins.sessionstack
  49. trello = sentry_plugins.trello
  50. twilio = sentry_plugins.twilio
  51. sentry.plugins =
  52. amazon_sqs = sentry_plugins.amazon_sqs.plugin:AmazonSQSPlugin
  53. asana = sentry_plugins.asana.plugin:AsanaPlugin
  54. bitbucket = sentry_plugins.bitbucket.plugin:BitbucketPlugin
  55. freight = sentry_plugins.freight.plugin:FreightPlugin
  56. github = sentry_plugins.github.plugin:GitHubPlugin
  57. gitlab = sentry_plugins.gitlab.plugin:GitLabPlugin
  58. heroku = sentry_plugins.heroku.plugin:HerokuPlugin
  59. jira = sentry_plugins.jira.plugin:JiraPlugin
  60. opsgenie = sentry_plugins.opsgenie.plugin:OpsGeniePlugin
  61. pagerduty = sentry_plugins.pagerduty.plugin:PagerDutyPlugin
  62. phabricator = sentry_plugins.phabricator.plugin:PhabricatorPlugin
  63. pivotal = sentry_plugins.pivotal.plugin:PivotalPlugin
  64. pushover = sentry_plugins.pushover.plugin:PushoverPlugin
  65. redmine = sentry_plugins.redmine.plugin:RedminePlugin
  66. segment = sentry_plugins.segment.plugin:SegmentPlugin
  67. sessionstack = sentry_plugins.sessionstack.plugin:SessionStackPlugin
  68. slack = sentry_plugins.slack.plugin:SlackPlugin
  69. splunk = sentry_plugins.splunk.plugin:SplunkPlugin
  70. trello = sentry_plugins.trello.plugin:TrelloPlugin
  71. twilio = sentry_plugins.twilio.plugin:TwilioPlugin
  72. victorops = sentry_plugins.victorops.plugin:VictorOpsPlugin
  73. [options.package_data]
  74. sentry =
  75. static/sentry/dist/**
  76. static/sentry/images/**
  77. static/sentry/js/**
  78. static/sentry/vendor/**
  79. [options.exclude_package_data]
  80. sentry =
  81. static/sentry/app/**
  82. static/sentry/fonts/**
  83. static/sentry/less/**
  84. [flake8]
  85. # File filtering is taken care of in pre-commit.
  86. # E203 false positive, see https://github.com/PyCQA/pycodestyle/issues/373
  87. # B011 We don't use PYTHONOPTIMIZE.
  88. # XXX: E501 is ignored, which disables line length checking.
  89. # Currently, the black formatter doesn't wrap long strings: https://github.com/psf/black/issues/182#issuecomment-385325274
  90. # We already have a lot of E501's - these are lines black didn't wrap.
  91. # But rather than append # noqa: E501 to all of them, we just ignore E501 for now.
  92. extend-ignore = E203,E501,E402,E731,B007,B009,B010,B011,B020,B023
  93. per-file-ignores =
  94. # these scripts must have minimal dependencies so opt out of the usual sentry rules
  95. tools/*: S
  96. .github/*: S
  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. source = .