Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump astroid to 3.3.4 #9951

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Bump astroid to 3.3.4 #9951

merged 1 commit into from
Sep 23, 2024

Conversation

jacobtylerwalls
Copy link
Member

@jacobtylerwalls jacobtylerwalls commented Sep 23, 2024

Closes #9947

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.80%. Comparing base (4c5393f) to head (d5f03db).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9951   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files         174      174           
  Lines       18940    18940           
=======================================
  Hits        18146    18146           
  Misses        794      794           

@jacobtylerwalls jacobtylerwalls merged commit 82c133d into main Sep 23, 2024
46 checks passed
@jacobtylerwalls jacobtylerwalls deleted the jtw/bump-astroid branch September 23, 2024 18:35
github-actions bot pushed a commit that referenced this pull request Sep 23, 2024
(cherry picked from commit 82c133d)
Copy link
Contributor

🤖 Effect of this PR on checked open source code: 🤖

Effect on home-assistant:
The following messages are no longer emitted:

  1. redefined-variable-type:
    Redefinition of name type from homeassistant.helpers.typing.UndefinedType._singleton to str
    https://github.com/home-assistant/core/blob/b107b2c7bf6dd255dec4e20e054ecaa659b5a544/homeassistant/components/matter/entity.py#L150
  2. unsupported-membership-test:
    Value 'msg' doesn't support membership test
    https://github.com/home-assistant/core/blob/b107b2c7bf6dd255dec4e20e054ecaa659b5a544/homeassistant/components/thermoworks_smoke/sensor.py#L91
  3. unsupported-membership-test:
    Value 'msg' doesn't support membership test
    https://github.com/home-assistant/core/blob/b107b2c7bf6dd255dec4e20e054ecaa659b5a544/homeassistant/components/thermoworks_smoke/sensor.py#L91

Effect on black:
The following messages are now emitted:

  1. not-callable:
    visitf is not callable
    https://github.com/psf/black/blob/8d9d18c0338d9fbfc27b38f6f69bb630d90512fa/src/black/nodes.py#L172

Effect on music21:
The following messages are now emitted:

  1. redefined-variable-type:
    Redefinition of usrStr type from int to str
    https://github.com/cuthbertLab/music21/blob/e05fc53dfef7b2c9ac974c0cacb8b85e9c4d4605/music21/sieve.py#L1329

The following messages are no longer emitted:

  1. redefined-variable-type:
    Redefinition of currentNValue type from str to int
    https://github.com/cuthbertLab/music21/blob/e05fc53dfef7b2c9ac974c0cacb8b85e9c4d4605/music21/mei/base.py#L2989

Effect on pandas:
The following messages are now emitted:

  1. invalid-name:
    Constant name "_msg" doesn't conform to UPPER_CASE naming style
    https://github.com/pandas-dev/pandas/blob/71b395f2cf513f7c4ef8b50c608072bf3950e596/pandas/core/computation/expr.py#L254

Effect on sentry:
The following messages are now emitted:

  1. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/sdk_updates.py#L5
  2. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/sdk_updates.py#L6
  3. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L13
  4. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L14
  5. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L15
  6. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L16
  7. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L17
  8. missing-function-docstring:
    Missing function or method docstring
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L333
  9. unused-argument:
    Unused argument 'compiler'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L335
  10. unused-argument:
    Unused argument 'connection'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L336
  11. unused-argument:
    Unused argument 'function'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L337
  12. unused-argument:
    Unused argument 'template'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L338
  13. unused-argument:
    Unused argument 'arg_joiner'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L339
  14. unused-argument:
    Unused argument 'extra_context'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/event_manager.py#L334
  15. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/http.py#L11
  16. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/http.py#L12
  17. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/wsgi.py#L9
  18. import-error:
    Unable to import 'django.core.handlers.wsgi'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/wsgi.py#L16
  19. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/constants.py#L16
  20. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/constants.py#L17
  21. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/locks.py#L1
  22. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/exceptions.py#L1
  23. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/exceptions.py#L32
  24. import-error:
    Unable to import 'django.dispatch.dispatcher'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/signals.py#L9
  25. no-self-use:
    Method could be a function
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/signals.py#L82
  26. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/signals.py#L57
  27. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/app.py#L6
  28. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/celery.py#L8
  29. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/celery.py#L9
  30. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/reprocessing2.py#L90
  31. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/reprocessing2.py#L91
  32. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/reprocessing2.py#L526
  33. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/dependencies.py#L9
  34. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/dependencies.py#L10
  35. import-error:
    Unable to import 'django.db.models.fields.related'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/dependencies.py#L11
  36. import-error:
    Unable to import 'django.apps'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/dependencies.py#L400
  37. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/comparators.py#L12
  38. import-error:
    Unable to import 'django.core'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/imports.py#L10
  39. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/imports.py#L11
  40. import-error:
    Unable to import 'django.db.models.base'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/imports.py#L12
  41. import-error:
    Unable to import 'django.core.serializers.json'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/helpers.py#L7
  42. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/helpers.py#L8
  43. missing-function-docstring:
    Missing function or method docstring
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/helpers.py#L46
  44. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/helpers.py#L39
  45. import-error:
    Unable to import 'django.db.models.base'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/service.py#L9
  46. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/impl.py#L10
  47. import-error:
    Unable to import 'django.core.serializers'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/impl.py#L11
  48. import-error:
    Unable to import 'django.core.serializers.base'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/impl.py#L12
  49. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/impl.py#L13
  50. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/impl.py#L14
  51. import-error:
    Unable to import 'django.forms'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/backup/services/import_export/impl.py#L15
  52. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/ingest.py#L10
  53. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/ingest.py#L11
  54. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/producer.py#L11
  55. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/occurrence_consumer.py#L16
  56. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/occurrence_consumer.py#L17
  57. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/attributes.py#L10
  58. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/attributes.py#L11
  59. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/attributes.py#L12
  60. import-error:
    Unable to import 'django.dispatch'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/attributes.py#L14
  61. import-error:
    Unable to import 'django.apps'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/apps.py#L1
  62. missing-function-docstring:
    Missing function or method docstring
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/apps.py#L7
  63. no-self-use:
    Method could be a function
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/apps.py#L7
  64. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/apps.py#L4
  65. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/ignored.py#L9
  66. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/issue_velocity.py#L12
  67. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/group_details.py#L6
  68. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/team_groups_old.py#L3
  69. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/group_notes.py#L3
  70. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/group_events.py#L7
  71. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/organization_searches.py#L1
  72. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/project_events.py#L4
  73. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/organization_group_index.py#L7
  74. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/project_stacktrace_link.py#L6
  75. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/issues/endpoints/organization_group_search_views.py#L2
  76. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/release_health/tasks.py#L5
  77. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/release_health/tasks.py#L6
  78. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/release_health/tasks.py#L7
  79. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/release_health/tasks.py#L8
  80. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/token.py#L1
  81. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/token.py#L4
  82. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/actor.py#L6
  83. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/actor.py#L37
  84. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/region.py#L9
  85. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/region.py#L10
  86. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/region.py#L230
  87. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/types/ratelimit.py#L6
  88. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/check_new_issue_threshold_met.py#L3
  89. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/check_new_issue_threshold_met.py#L4
  90. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/symbolication.py#L7
  91. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/auto_resolve_issues.py#L8
  92. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/store.py#L12
  93. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/release_registry.py#L3
  94. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/release_registry.py#L4
  95. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/unmerge.py#L10
  96. import-error:
    Unable to import 'django.db.models.base'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/unmerge.py#L11
  97. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/clear_expired_resolutions.py#L1
  98. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/auth.py#L6
  99. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/auth.py#L7
  100. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/clear_expired_rulesnoozes.py#L1
  101. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/merge.py#L5
  102. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/merge.py#L6
  103. import-error:
    Unable to import 'django.db.models.base'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/merge.py#L7
  104. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/auto_ongoing_issues.py#L6
  105. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/clear_expired_snoozes.py#L1
  106. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/relay.py#L5
  107. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/files.py#L3
  108. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/files.py#L4
  109. import-error:
    Unable to import 'django.apps'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/process_buffer.py#L4
  110. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/process_buffer.py#L5
  111. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/base.py#L11
  112. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/relocation.py#L17
  113. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/relocation.py#L18
  114. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/beacon.py#L11
  115. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/beacon.py#L12
  116. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/options.py#L4
  117. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/commit_context.py#L11
  118. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/assemble.py#L13
  119. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/assemble.py#L14
  120. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/assemble.py#L15
  121. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/assemble.py#L16
  122. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/groupowner.py#L5
  123. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/update_user_reports.py#L6
  124. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/check_auth.py#L7
  125. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/check_auth.py#L8
  126. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/statistical_detectors.py#L9
  127. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/on_demand_metrics.py#L8
  128. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/reprocessing2.py#L7
  129. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/reprocessing2.py#L8
  130. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/check_am2_compatibility.py#L8
  131. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/collect_project_platforms.py#L3
  132. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/post_process.py#L11
  133. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/post_process.py#L13
  134. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/codeowners/code_owners_auto_sync.py#L22
  135. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py#L5
  136. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/tasks/embeddings_grouping/utils.py#L9
  137. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/settings.py#L113
  138. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/initializer.py#L9
  139. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/initializer.py#L239
  140. import-error:
    Unable to import 'django'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/initializer.py#L364
  141. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/initializer.py#L392
  142. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/initializer.py#L523
  143. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/migrations.py#L4
  144. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/migrations.py#L33
  145. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/devserver.py#L206
  146. import-error:
    Unable to import 'django.db.models.fields'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/createuser.py#L16
  147. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/createuser.py#L26
  148. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/createuser.py#L37
  149. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/createuser.py#L106
  150. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/run.py#L130
  151. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/run.py#L233
  152. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/run.py#L262
  153. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/upgrade.py#L2
  154. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/upgrade.py#L3
  155. import-error:
    Unable to import 'django.db.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/upgrade.py#L4
  156. import-error:
    Unable to import 'django.core.management'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/upgrade.py#L54
  157. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/repair.py#L5
  158. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/repair.py#L41
  159. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/tsdb.py#L68
  160. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/permissions.py#L6
  161. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/permissions.py#L39
  162. import-error:
    Unable to import 'django.core.management'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/django.py#L12
  163. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/config.py#L32
  164. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/config.py#L130
  165. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/cleanup.py#L14
  166. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/cleanup.py#L15
  167. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/cleanup.py#L16
  168. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/cleanup.py#L168
  169. use-implicit-booleaness-not-len:
    Do not use len(SEQUENCE) without comparison to determine if a sequence is empty
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/cleanup.py#L247
  170. import-error:
    Unable to import 'django.apps'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/cleanup.py#L408
  171. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/devservices.py#L388
  172. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/devservices.py#L829
  173. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/queues.py#L18
  174. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/runner/commands/presenters/webhookpresenter.py#L6
  175. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/scim/endpoints/teams.py#L6
  176. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/scim/endpoints/members.py#L6
  177. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/scim/endpoints/members.py#L7
  178. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/scim/endpoints/members.py#L8
  179. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/status_checks/celery_alive.py#L3
  180. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/status_checks/celery_app_version.py#L1
  181. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/base.py#L9
  182. import-error:
    Unable to import 'django.utils.functional'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/base.py#L10
  183. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/__init__.py#L1
  184. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/filesystem/backend.py#L4
  185. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/migrations/0001_initial.py#L2
  186. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/migrations/0001_initial.py#L7
  187. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/migrations/0002_nodestore_no_dictfield.py#L3
  188. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/migrations/0002_nodestore_no_dictfield.py#L6
  189. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/django/models.py#L1
  190. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/django/models.py#L2
  191. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/nodestore/django/backend.py#L9
  192. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/models.py#L6
  193. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/models.py#L7
  194. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/models.py#L8
  195. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/endpoints/serializers.py#L4
  196. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/endpoints/discover_saved_queries.py#L3
  197. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/endpoints/discover_key_transactions.py#L6
  198. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/endpoints/discover_saved_query_detail.py#L1
  199. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/discover/endpoints/discover_saved_query_detail.py#L2
  200. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/placeholder.py#L3
  201. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/flag.py#L3
  202. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/flag.py#L4
  203. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/customer_domain.py#L6
  204. import-error:
    Unable to import 'django.contrib.auth'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/customer_domain.py#L7
  205. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/customer_domain.py#L8
  206. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/customer_domain.py#L9
  207. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/customer_domain.py#L10
  208. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/locale.py#L2
  209. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/locale.py#L3
  210. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/locale.py#L4
  211. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/locale.py#L6
  212. import-error:
    Unable to import 'django.contrib.auth'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/auth.py#L3
  213. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/auth.py#L5
  214. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/auth.py#L6
  215. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/auth.py#L7
  216. import-error:
    Unable to import 'django.utils.functional'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/auth.py#L8
  217. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/staff.py#L3
  218. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/staff.py#L4
  219. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/staff.py#L5
  220. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/security.py#L1
  221. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/env.py#L2
  222. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/health.py#L4
  223. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/health.py#L5
  224. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/proxy.py#L3
  225. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/proxy.py#L4
  226. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/proxy.py#L5
  227. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/proxy.py#L6
  228. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/access_log.py#L9
  229. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/subdomain.py#L6
  230. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/subdomain.py#L7
  231. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/subdomain.py#L8
  232. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/subdomain.py#L9
  233. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/stats.py#L6
  234. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/stats.py#L7
  235. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/stats.py#L8
  236. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/sudo.py#L1
  237. import-error:
    Unable to import 'django.views'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/__init__.py#L7
  238. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/ratelimit.py#L9
  239. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/ratelimit.py#L10
  240. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/ratelimit.py#L11
  241. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/superuser.py#L1
  242. import-error:
    Unable to import 'django.utils.deprecation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/superuser.py#L2
  243. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/integration_control.py#L6
  244. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/integration_control.py#L7
  245. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/classifications.py#L9
  246. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/classifications.py#L10
  247. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/vsts.py#L7
  248. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/slack.py#L9
  249. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/gitlab.py#L8
  250. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/bitbucket_server.py#L5
  251. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/plugin.py#L6
  252. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/discord.py#L7
  253. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/msteams.py#L10
  254. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/jira_server.py#L8
  255. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/middleware/integrations/parsers/github.py#L8
  256. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/analytics/event.py#L9
  257. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/assistant/guides.py#L1
  258. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/pipeline.py#L5
  259. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/pipeline.py#L6
  260. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/pipeline.py#L7
  261. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/pipeline.py#L8
  262. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/request_buffer.py#L3
  263. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/time_utils.py#L5
  264. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/time_utils.py#L7
  265. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/metric_alerts.py#L4
  266. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/metric_alerts.py#L6
  267. import-error:
    Unable to import 'django.conf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/issue_alert_image_builder.py#L5
  268. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/issue_alert_image_builder.py#L6
  269. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/installed.py#L1
  270. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/uninstalled.py#L1
  271. import-error:
    Unable to import 'django.utils.datastructures'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/integration.py#L5
  272. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/integration.py#L6
  273. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/webhook.py#L9
  274. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/webhook.py#L10
  275. import-error:
    Unable to import 'django.utils.decorators'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/webhook.py#L11
  276. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/bitbucket/webhook.py#L12
  277. import-error:
    Unable to import 'django.core.exceptions'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/webhooks.py#L5
  278. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/webhooks.py#L6
  279. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/webhooks.py#L7
  280. import-error:
    Unable to import 'django'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/integration.py#L11
  281. import-error:
    Unable to import 'django.core.validators'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/integration.py#L12
  282. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/integration.py#L13
  283. import-error:
    Unable to import 'django.utils.decorators'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/integration.py#L15
  284. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/integration.py#L16
  285. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/integration.py#L17
  286. import-error:
    Unable to import 'django'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/actions/form.py#L5
  287. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/actions/form.py#L6
  288. missing-function-docstring:
    Missing function or method docstring
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/actions/form.py#L15
  289. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/jira_server/actions/form.py#L12
  290. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/tasks/sync_status_inbound.py#L5
  291. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/tasks/sync_status_inbound.py#L6
  292. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/example/integration.py#L6
  293. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/vercel/integration.py#L7
  294. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/vercel/webhook.py#L10
  295. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/vsts_extension/integration.py#L5
  296. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/vsts_extension/integration.py#L6
  297. import-error:
    Unable to import 'django.core.cache'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/middleware/hybrid_cloud/parser.py#L8
  298. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/middleware/hybrid_cloud/parser.py#L9
  299. import-error:
    Unable to import 'django.http.response'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/middleware/hybrid_cloud/parser.py#L10
  300. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/webhooks.py#L10
  301. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/webhooks.py#L11
  302. import-error:
    Unable to import 'django.utils.decorators'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/webhooks.py#L13
  303. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/webhooks.py#L14
  304. import-error:
    Unable to import 'django'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/integration.py#L6
  305. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/integration.py#L7
  306. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/integration.py#L8
  307. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/gitlab/integration.py#L185
  308. import-error:
    Unable to import 'django'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/integration.py#L6
  309. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/integration.py#L7
  310. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/integration.py#L8
  311. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/integration.py#L214
  312. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/webhook.py#L12
  313. import-error:
    Unable to import 'django.utils.decorators'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/webhook.py#L14
  314. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/github_enterprise/webhook.py#L15
  315. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/integration.py#L6
  316. import-error:
    Unable to import 'django.http'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/webhook.py#L10
  317. import-error:
    Unable to import 'django.views.decorators.csrf'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/webhook.py#L11
  318. import-error:
    Unable to import 'django'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/actions/form.py#L5
  319. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/actions/form.py#L6
  320. missing-function-docstring:
    Missing function or method docstring
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/actions/form.py#L26
  321. too-few-public-methods:
    Too few public methods (1/2)
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/msteams/actions/form.py#L9
  322. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/integration_external_project.py#L1
  323. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/integration_external_project.py#L2
  324. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/doc_integration.py#L1
  325. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/external_actor.py#L3
  326. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/external_actor.py#L4
  327. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/external_actor.py#L6
  328. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/integration_feature.py#L8
  329. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/integration_feature.py#L9
  330. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/integration.py#L6
  331. missing-function-docstring:
    Missing function or method docstring
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/integration.py#L90
  332. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/repository_project_path_config.py#L1
  333. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/organization_integration.py#L6
  334. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/organization_integration.py#L7
  335. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/external_issue.py#L5
  336. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/external_issue.py#L6
  337. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/external_issue.py#L7
  338. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/doc_integration_avatar.py#L3
  339. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/models/doc_integration_avatar.py#L4
  340. import-error:
    Unable to import 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/integration.py#L8
  341. import-error:
    Unable to import 'django.views'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/integration.py#L9
  342. import-error:
    Unable to import 'django.utils'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/tasks/link_slack_user_identities.py#L6
  343. import-error:
    Unable to import 'django.db'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/tasks/send_notifications_on_activity.py#L3
  344. import-error:
    Unable to import 'django.db.models'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/unfurl/metric_alerts.py#L10
  345. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/unfurl/metric_alerts.py#L11
  346. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/unfurl/issues.py#L5
  347. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/unfurl/types.py#L8
  348. import-error:
    Unable to import 'django.http.request'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/unfurl/discover.py#L11
  349. import-error:
    Unable to import 'django.utils.functional'
    https://github.com/getsentry/sentry/blob/2345d0d0c7fc66252a8b91c661a8601f9736d8fa/src/sentry/integrations/slack/...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit d5f03db

jacobtylerwalls added a commit that referenced this pull request Sep 23, 2024
(cherry picked from commit 82c133d)

Co-authored-by: Jacob Walls <[email protected]>
@akamat10
Copy link
Contributor

Ignoring the sentry import-error errors, which are expected, it seems like there might a couple more caching related bugs lurking in there. Will check.

@akamat10
Copy link
Contributor

Looks like the common pattern is that the errors are f-string related. Perhaps a regression related to the JoinStr changes that happened in astroid pylint-dev/astroid@3dbf139

@akamat10
Copy link
Contributor

Sorry may be the attempted fix for JoinStr in 3.3.4 version is causing other issues.

@jacobtylerwalls
Copy link
Member Author

I think the 3.3.4 JoinedStr fix is causing desired changes in the primer baseline, see #9963.

@akamat10
Copy link
Contributor

akamat10 commented Sep 29, 2024

You are right. Almost all of these are the result of the f-string inference working correctly. One message is a head scratcher. The following looks like a new false postive, doesn't it?

not-callable:
visitf is not callable
https://github.com/psf/black/blob/8d9d18c0338d9fbfc27b38f6f69bb630d90512fa/src/black/nodes.py#L172

On a positive note, I don't think there are any known primer issues anymore!!

@jacobtylerwalls
Copy link
Member Author

The following looks like a new false postive, doesn't it?

Well, not-callable apparently wants every inferred value, including None, to be callable...

if any(return_node.callable() for return_node in call_results):
# Only raise this issue if *all* the inferred values are not callable
continue

... but here we can rule out None because we're under an implicit boolean check. If the check were is not None I think it would be fixed by the astroid inference constraint for is None. We need more astroid inference constraints implemented. I've labeled a grand total of one pylint issue so far with "needs astroid constraint" but this would be one of them (there will be many more.)


On a positive note, I don't think there are any known primer issues anymore!!

Thank you, this was a huge contribution on your part! No more apologies to contributors for distracting primer feedback! And of course fewer end-user headaches!

@Pierre-Sassoulas
Copy link
Member

Yeah, thank you for your work on primers @akamat10 !

@akamat10
Copy link
Contributor

Sounds good. Thanks for the explanation @jacobtylerwalls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pylint 3.3.0 does not recognize f-string as string and reports no-member for startswith()
3 participants