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

Ignore cached_property in method-hidden check (#8753) #8758

Merged
merged 10 commits into from
Jun 22, 2023

Conversation

kyoto7250
Copy link
Contributor

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #8753

@jacobtylerwalls jacobtylerwalls added this to the 2.17.5 milestone Jun 10, 2023
@jacobtylerwalls jacobtylerwalls added False Positive 🦟 A message is emitted but nothing is wrong with the code backport maintenance/3.3.x labels Jun 10, 2023
@codecov
Copy link

codecov bot commented Jun 10, 2023

Codecov Report

Merging #8758 (f010a3e) into main (2acca90) will increase coverage by 0.01%.
The diff coverage is 88.23%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8758      +/-   ##
==========================================
+ Coverage   95.82%   95.83%   +0.01%     
==========================================
  Files         173      173              
  Lines       18386    18526     +140     
==========================================
+ Hits        17618    17755     +137     
- Misses        768      771       +3     
Impacted Files Coverage Ξ”
pylint/checkers/classes/class_checker.py 93.35% <88.23%> (-0.21%) ⬇️

... and 8 files with indirect coverage changes

@github-actions

This comment has been minimized.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty nice already ! I suggested a test case to make sure we use the qname / inference, not sure if this already work or how necessary this is.

tests/functional/m/method_hidden.py Outdated Show resolved Hide resolved
tests/functional/m/method_hidden.py Outdated Show resolved Hide resolved
tests/functional/m/method_hidden.py Show resolved Hide resolved
tests/functional/m/method_hidden.py Show resolved Hide resolved
pass

@functools.cached_property
def _protected_two(self):
Copy link
Contributor Author

@kyoto7250 kyoto7250 Jun 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no actual definition cached_property, so safe_infer returns UnInferable, and this line did not detect.

By adding the actual definition, this line will be detected, any good ideas?

inferred = safe_infer(decorator)
if not inferred:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the expected behavior πŸ‘ We should not raise when something is uninferable (unless the real functools.cached_property is always uninferable).

@github-actions

This comment has been minimized.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking the remark into account. Let's wait for another maintainer opinion regarding aliasing before investing too much time in it :) If it's important then we should use qname (qualified name, i.e. builtins.property) instead.

pylint/checkers/classes/class_checker.py Outdated Show resolved Hide resolved
pylint/checkers/classes/class_checker.py Outdated Show resolved Hide resolved
pylint/checkers/classes/class_checker.py Show resolved Hide resolved
kyoto7250 and others added 2 commits June 13, 2023 21:02
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
@jacobtylerwalls
Copy link
Member

The docs on adding a changelog are here (you can install the dev requirements to get towncrier).

@github-actions

This comment has been minimized.

@kyoto7250
Copy link
Contributor Author

Thank you for your reviews.

I commited the changes and create a news fragment.

@github-actions

This comment has been minimized.

tests/functional/m/method_hidden_py39.py Outdated Show resolved Hide resolved
tests/functional/m/method_hidden.py Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on music21:
The following messages are now emitted:

  1. invalid-name:
    Attribute name "id" doesn't conform to '[a-z_][A-Za-z0-9_]{2,30}$' pattern
    https://github.com/cuthbertLab/music21/blob/cf0719a2aa79a719b80a2be3088ebe8353ff30c2/music21/prebase.py#L293

The following messages are no longer emitted:

  1. invalid-name:
    Attribute name "id" doesn't conform to '[a-z_][A-Za-z0-9_]{2,30}$' pattern
    https://github.com/cuthbertLab/music21/blob/cf0719a2aa79a719b80a2be3088ebe8353ff30c2/music21/base.py#L579

Effect on pytest:
The following messages are now emitted:

  1. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/nodes.py#L374
  2. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/nodes.py#L508
  3. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/python_api.py#L45
  4. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/python_api.py#L159
  5. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/python_api.py#L796
  6. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/python_api.py#L805
  7. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L298
  8. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L327
  9. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1242
  10. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1242
  11. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1274
  12. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1274
  13. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1293
  14. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1293
  15. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1390
  16. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1391
  17. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1408
  18. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1412
  19. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/terminal.py#L1427
  20. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/unittest.py#L39
  21. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/unittest.py#L40
  22. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/debugging.py#L101
  23. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/debugging.py#L104
  24. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/junitxml.py#L490
  25. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/main.py#L690
  26. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/main.py#L763
  27. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/main.py#L862
  28. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/monkeypatch.py#L99
  29. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/monkeypatch.py#L132
  30. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/monkeypatch.py#L133
  31. no-member:
    Instance of 'TextIOWrapper' has no 'mode' member
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/config/__init__.py#L426
  32. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/config/__init__.py#L1012
  33. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/mark/expression.py#L180

The following messages are no longer emitted:

  1. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/fixtures.py#L89
  2. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/fixtures.py#L360
  3. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/fixtures.py#L1181
  4. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/runner.py#L373
  5. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/runner.py#L470
  6. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/capture.py#L488
  7. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/pytester.py#L280
  8. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/pytester.py#L1074
  9. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/reports.py#L63
  10. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/reports.py#L65
  11. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/reports.py#L256
  12. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/reports.py#L278
  13. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/reports.py#L339
  14. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/reports.py#L427
  15. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/recwarn.py#L99
  16. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/recwarn.py#L108
  17. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/recwarn.py#L254
  18. redefined-variable-type:
    Redefinition of file type from _io.TextIOWrapper to colorama.ansitowin32.StreamWrapper
    https://github.com/pytest-dev/pytest/blob/797b924fc44189d0b9c2ad905410f0bd89461ab7/src/_pytest/_io/terminalwriter.py#L74

Effect on pandas:
The following messages are now emitted:

  1. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/plotting/_core.py#L1380
  2. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/plotting/_core.py#L1718
  3. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/core/_numba/executor.py#L97
  4. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/core/indexes/multi.py#L587
  5. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/core/indexes/range.py#L500
  6. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/core/indexes/range.py#L999
  7. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/io/excel/_openpyxl.py#L481

The following messages are no longer emitted:

  1. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L87
  2. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L88
  3. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L256
  4. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L456
  5. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L457
  6. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L796
  7. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L817
  8. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/_config/config.py#L843
  9. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/core/array_algos/datetimelike_accumulations.py#L17
  10. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/pandas-dev/pandas/blob/d06f2d3dc412bd138778fdd26a29226efd0b3026/pandas/core/array_algos/masked_reductions.py#L27

Effect on sentry:
The following messages are now emitted:

  1. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/sdk_updates.py#L4
  2. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/constants.py#L14
  3. no-name-in-module:
    No name 'response' in module 'django.template'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/admin.py#L14
  4. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/admin.py#L16
  5. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/admin.py#L17
  6. too-many-ancestors:
    Too many ancestors (8/7)
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/admin.py#L147
  7. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/event_manager.py#L30
  8. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/event_manager.py#L35
  9. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/base.py#L102
  10. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/processor.py#L8
  11. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/processor.py#L9
  12. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/processor.py#L23
  13. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/processor.py#L54
  14. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/processor.py#L261
  15. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/level.py#L17
  16. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/event_frequency.py#L11
  17. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/event_frequency.py#L12
  18. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/event_frequency.py#L114
  19. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/event_frequency.py#L162
  20. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/event_frequency.py#L243
  21. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/conditions/event_frequency.py#L267
  22. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/history/preview.py#L7
  23. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/history/preview.py#L29
  24. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/history/preview.py#L112
  25. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/history/preview.py#L161
  26. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/history/backends/postgres.py#L8
  27. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/history/backends/postgres.py#L8
  28. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/filters/age_comparison.py#L8
  29. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/filters/issue_occurrences.py#L4
  30. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/rules/actions/integrations/create_ticket/utils.py#L55
  31. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/notify.py#L10
  32. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/notify.py#L31
  33. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/notifications/user_report.py#L6
  34. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/notifications/activity/base.py#L9
  35. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/utils/__init__.py#L24
  36. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/utils/__init__.py#L25
  37. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/utils/__init__.py#L26
  38. deprecated-typing-alias:
    'typing.Tuple' is deprecated, use 'tuple' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/notifications/utils/participants.py#L239
  39. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/similarity/backends/redis.py#L4
  40. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/base.py#L12
  41. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/base.py#L600
  42. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/base.py#L617
  43. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/base.py#L617
  44. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/base.py#L622
  45. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/base.py#L625
  46. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/issue_search.py#L72
  47. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/paginator.py#L9
  48. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/paginator.py#L9
  49. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/paginator.py#L10
  50. no-name-in-module:
    No name 'crypto' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/invite_helper.py#L7
  51. no-name-in-module:
    No name 'crypto' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/authentication.py#L5
  52. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/authentication.py#L6
  53. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/utils.py#L13
  54. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/helpers/group_index/__init__.py#L18
  55. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/helpers/group_index/index.py#L25
  56. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/helpers/group_index/index.py#L30
  57. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/helpers/group_index/update.py#L11
  58. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/environment.py#L4
  59. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/group_stream.py#L9
  60. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/project.py#L12
  61. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/apiapplication.py#L3
  62. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/group.py#L787
  63. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/grouprelease.py#L4
  64. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/release.py#L5
  65. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/event.py#L10
  66. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/models/plugin.py#L3
  67. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/rest_framework/base.py#L1
  68. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/rest_framework/doc_integration.py#L4
  69. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/serializers/rest_framework/json.py#L1
  70. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/validators/email.py#L1
  71. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/bases/organization.py#L6
  72. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/bases/organization_events.py#L6
  73. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/bases/organization_events.py#L7
  74. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/user_details.py#L8
  75. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/group_events.py#L6
  76. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_projects_experiment.py#L7
  77. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_user_stats.py#L3
  78. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_sdk_updates.py#L5
  79. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/broadcast_index.py#L7
  80. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/prompts_activity.py#L6
  81. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/broadcast_details.py#L5
  82. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_recent_searches.py#L1
  83. no-name-in-module:
    No name 'crypto' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/setup_wizard.py#L3
  84. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_release_setup.py#L1
  85. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/grouping_level_new_issues.py#L3
  86. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/group_notes.py#L3
  87. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/user_subscriptions.py#L2
  88. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_all_unresolved_issues.py#L6
  89. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_all_unresolved_issues.py#L6
  90. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_alerts_triggered.py#L4
  91. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_alerts_triggered.py#L4
  92. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_alerts_triggered.py#L5
  93. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/group_details.py#L6
  94. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_ownership.py#L1
  95. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_sentry_function.py#L3
  96. no-name-in-module:
    No name 'crypto' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/user_password.py#L1
  97. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_teams.py#L5
  98. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_auth_provider_send_reminders.py#L1
  99. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_dashboard_details.py#L4
  100. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/assistant.py#L6
  101. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_time_to_resolution.py#L5
  102. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_time_to_resolution.py#L5
  103. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/auth_index.py#L6
  104. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_transfer.py#L5
  105. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_unresolved_issue_age.py#L4
  106. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_release_count.py#L5
  107. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_release_count.py#L5
  108. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_release_count.py#L6
  109. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_events_has_measurements.py#L4
  110. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_events_has_measurements.py#L5
  111. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/source_map_debug.py#L4
  112. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_dynamic_sampling.py#L4
  113. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_rule_preview.py#L3
  114. no-name-in-module:
    No name 'signing' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/accept_project_transfer.py#L1
  115. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/accept_project_transfer.py#L3
  116. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/release_deploys.py#L2
  117. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_events.py#L4
  118. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_request_project_creation.py#L1
  119. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_onboarding_tasks.py#L1
  120. import-error:
    Unable to import 'django.db.models.functions'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_issue_breakdown.py#L6
  121. no-name-in-module:
    No name 'functions' in module 'django.db.models'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/team_issue_breakdown.py#L6
  122. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_group_index.py#L5
  123. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_events_trendsv2.py#L8
  124. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/project_details.py#L8
  125. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/organization_code_mappings.py#L2
  126. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/integrations/sentry_apps/installation/index.py#L1
  127. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/api/endpoints/relay/register_response.py#L1
  128. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/quotas/base.py#L6
  129. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/newsletter/dummy.py#L3
  130. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/plugins/interfaces/releasehook.py#L4
  131. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/plugins/base/configuration.py#L4
  132. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/plugins/base/configuration.py#L5
  133. no-name-in-module:
    No name 'context_processors' in module 'django.template'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/plugins/base/response.py#L4
  134. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/plugins/providers/integration_repository.py#L7
  135. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/plugins/sentry_webhooks/plugin.py#L5
  136. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/receivers/releases.py#L7
  137. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/receivers/onboarding.py#L6
  138. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/silo/base.py#L131
  139. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/silo/base.py#L133
  140. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/tagstore/snuba/backend.py#L9
  141. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/ingest/ingest_consumer.py#L8
  142. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/ingest/userreport.py#L4
  143. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/interfaces/base.py#L6
  144. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/interfaces/contexts.py#L3
  145. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/interfaces/stacktrace.py#L6
  146. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/interfaces/http.py#L6
  147. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/security/emails.py#L4
  148. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/security/utils.py#L5
  149. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/analytics/event.py#L9
  150. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/sentry_metrics/kafka.py#L11
  151. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/sentry_metrics/consumers/last_seen_updater.py#L18
  152. deprecated-typing-alias:
    'typing.Callable' is deprecated, use 'collections.abc.Callable' instead
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/sentry_metrics/indexer/base.py#L418
  153. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/sentry_metrics/indexer/cache.py#L6
  154. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/sentry_metrics/indexer/postgres/models.py#L6
  155. no-name-in-module:
    No name 'loader' in module 'django.template'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/helpers.py#L8
  156. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/helpers.py#L9
  157. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/client_config.py#L4
  158. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/decorators.py#L7
  159. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/forms/fields.py#L5
  160. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/forms/fields.py#L6
  161. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/forms/accounts.py#L10
  162. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/forms/accounts.py#L11
  163. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/forms/accounts.py#L12
  164. no-name-in-module:
    No name 'context_processors' in module 'django.template'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/base.py#L15
  165. no-value-for-parameter:
    No value for argument 'get_response' in constructor call
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/base.py#L340
  166. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/auth_logout.py#L3
  167. no-name-in-module:
    No name 'crypto' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/release_webhook.py#L6
  168. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/oauth_authorize.py#L6
  169. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/oauth_authorize.py#L7
  170. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/twofactor.py#L6
  171. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/group_plugin_action.py#L3
  172. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/oauth_token.py#L4
  173. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/pipeline_advancer.py#L4
  174. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/error_page_embed.py#L4
  175. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/error_page_embed.py#L5
  176. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/error_page_embed.py#L6
  177. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/restore_organization.py#L5
  178. no-name-in-module:
    No name 'crypto' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/mailgun_inbound_webhook.py#L6
  179. no-name-in-module:
    No name 'signing' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/integration_extension_configuration.py#L4
  180. no-name-in-module:
    No name 'http' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/integration_extension_configuration.py#L7
  181. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/organization_auth_settings.py#L9
  182. no-name-in-module:
    No name 'context_processors' in module 'django.template'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/accounts.py#L9
  183. no-name-in-module:
    No name 'ugettext' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/accounts.py#L11
  184. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/auth_login.py#L10
  185. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/debug/mail.py#L18
  186. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/debug/debug_weekly_report.py#L5
  187. no-name-in-module:
    No name 'text' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/debug/debug_weekly_report.py#L6
  188. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/debug/debug_incident_trigger_email.py#L3
  189. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/debug/debug_generic_issue.py#L2
  190. no-name-in-module:
    No name 'safestring' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/web/frontend/debug/debug_performance_issue.py#L1
  191. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/grouprulestatus.py#L2
  192. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/apigrant.py#L5
  193. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupresolution.py#L2
  194. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupresolution.py#L3
  195. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/tombstone.py#L6
  196. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupcommitresolution.py#L2
  197. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/identity.py#L9
  198. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/releaseactivity.py#L3
  199. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectbookmark.py#L3
  200. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/savedsearch.py#L5
  201. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/savedsearch.py#L6
  202. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/organizationonboardingtask.py#L4
  203. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/organizationonboardingtask.py#L6
  204. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupemailthread.py#L2
  205. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectplatform.py#L2
  206. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupassignee.py#L7
  207. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/commit.py#L6
  208. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/recentsearch.py#L4
  209. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/orgauthtoken.py#L5
  210. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/orgauthtoken.py#L6
  211. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/grouphistory.py#L5
  212. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/grouphistory.py#L6
  213. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/eventattachment.py#L3
  214. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/eventattachment.py#L6
  215. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupinbox.py#L6
  216. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectownership.py#L6
  217. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/lostpasswordhash.py#L7
  218. no-name-in-module:
    No name 'cache' in module 'django.core'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/userip.py#L4
  219. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/userip.py#L6
  220. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/activity.py#L9
  221. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/organizationmapping.py#L4
  222. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/apikey.py#L4
  223. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/apikey.py#L5
  224. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/environment.py#L5
  225. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/organization.py#L12
  226. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupsubscription.py#L5
  227. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectredirect.py#L2
  228. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/rule.py#L5
  229. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/team.py#L7
  230. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/team.py#L8
  231. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupsnooze.py#L5
  232. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/broadcast.py#L4
  233. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/grouphash.py#L2
  234. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupseen.py#L3
  235. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/authidentity.py#L5
  236. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectcodeowners.py#L7
  237. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/repository.py#L5
  238. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/reprocessingreport.py#L2
  239. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/apitoken.py#L7
  240. no-name-in-module:
    No name 'encoding' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/apitoken.py#L8
  241. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/apiauthorization.py#L2
  242. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/releaseenvironment.py#L4
  243. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/appconnectbuilds.py#L10
  244. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/featureadoption.py#L6
  245. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/rulefirehistory.py#L2
  246. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/promptsactivity.py#L3
  247. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/groupshare.py#L5
  248. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/auditlogentry.py#L4
  249. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/authprovider.py#L4
  250. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectkey.py#L9
  251. no-name-in-module:
    No name 'ugettext_lazy' in module 'django.utils.translation'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/projectkey.py#L10
  252. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc5e1895ffd07337c41cb0b72c/src/sentry/models/dashboard.py#L2
  253. no-name-in-module:
    No name 'timezone' in module 'django.utils'
    https://github.com/getsentry/sentry/blob/affc86677fef90bc...

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

This comment was generated for commit f010a3e

_, import_nodes = decorator.expr.lookup(decorator.expr.name)

if not import_nodes:
return False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These last two lines should (hopefully) be easy to cover, also. Get a "functools" that's not from an import statement, and one that's missing (and disable undefined-variable inline, or whatever similar msg)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However, those would make pretty low-value tests, so I'm approving now with an eye toward merging later tonight. Thank you!

@jacobtylerwalls
Copy link
Member

jacobtylerwalls commented Jun 22, 2023

Sorry about the unhelpful primer message. I opened #8790 for it.

@jacobtylerwalls
Copy link
Member

Thanks for being so responsive @kyoto7250, great first contribution! πŸ“ˆ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False Positive: method-hidden with @functools.cached_property
3 participants