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

Escape special symbols and newlines in messages. #9164

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

theirix
Copy link
Contributor

@theirix theirix commented Oct 18, 2023

Type of Changes

Type
βœ“ πŸ› Bug fix
✨ New feature
πŸ”¨ Refactoring
βœ“ πŸ“œ Docs

Description

I skimmed through all the args usage in messages and tested a few suspicious strings. Everything looks good and uses as_string() call. The only thing to fix is a magic-value-comparison from the referenced ticket.

Closes #7874

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.

Great!

@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) October 18, 2023 09:09
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #9164 (5a207bd) into main (f9e118f) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9164   +/-   ##
=======================================
  Coverage   95.76%   95.76%           
=======================================
  Files         173      173           
  Lines       18692    18692           
=======================================
  Hits        17901    17901           
  Misses        791      791           
Files Coverage Ξ”
pylint/extensions/magic_value.py 100.00% <100.00%> (ΓΈ)

@Pierre-Sassoulas Pierre-Sassoulas merged commit df0800e into pylint-dev:main Oct 18, 2023
46 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 18, 2023
@github-actions
Copy link
Contributor

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

Effect on astroid:
The following messages are now emitted:

  1. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/arguments.py#L215
  2. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/arguments.py#L230
  3. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/arguments.py#L234
  4. magic-value-comparison:
    Consider using a named constant or an enum instead of ''next''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/util.py#L31
  5. magic-value-comparison:
    Consider using a named constant or an enum instead of ''accept''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/util.py#L35
  6. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ignore''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/util.py#L131
  7. magic-value-comparison:
    Consider using a named constant or an enum instead of ''is''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L72
  8. magic-value-comparison:
    Consider using a named constant or an enum instead of ''is not''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L72
  9. magic-value-comparison:
    Consider using a named constant or an enum instead of ''body''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L105
  10. magic-value-comparison:
    Consider using a named constant or an enum instead of ''orelse''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L107
  11. magic-value-comparison:
    Consider using a named constant or an enum instead of ''win32''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/const.py#L14
  12. magic-value-comparison:
    Consider using a named constant or an enum instead of ''pypy''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/const.py#L16
  13. magic-value-comparison:
    Consider using a named constant or an enum instead of ''jython''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/const.py#L17
  14. magic-value-comparison:
    Consider using a named constant or an enum instead of ''nt''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L58
  15. magic-value-comparison:
    Consider using a named constant or an enum instead of ''posix''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L89
  16. magic-value-comparison:
    Consider using a named constant or an enum instead of ''xml''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L375
  17. magic-value-comparison:
    Consider using a named constant or an enum instead of ''.pyi''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L500
  18. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/helpers.py#L50
  19. magic-value-comparison:
    Consider using a named constant or an enum instead of ''len''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/helpers.py#L262
  20. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.int''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/helpers.py#L304
  21. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.object''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L54
  22. magic-value-comparison:
    Consider using a named constant or an enum instead of ''future''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L158
  23. magic-value-comparison:
    Consider using a named constant or an enum instead of ''init''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L196
  24. magic-value-comparison:
    Consider using a named constant or an enum instead of ''''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L216
  25. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Instance''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/decorators.py#L51
  26. magic-value-comparison:
    Consider using a named constant or an enum instead of ''metaclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/rebuilder.py#L899
  27. magic-value-comparison:
    Consider using a named constant or an enum instead of ''metaclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/rebuilder.py#L912
  28. magic-value-comparison:
    Consider using a named constant or an enum instead of ''**''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L113
  29. magic-value-comparison:
    Consider using a named constant or an enum instead of ''%''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L131
  30. magic-value-comparison:
    Consider using a named constant or an enum instead of ''+''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L191
  31. magic-value-comparison:
    Consider using a named constant or an enum instead of ''''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L200
  32. magic-value-comparison:
    Consider using a named constant or an enum instead of ''''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L205
  33. magic-value-comparison:
    Consider using a named constant or an enum instead of ''staticmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L365
  34. magic-value-comparison:
    Consider using a named constant or an enum instead of ''metaclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L368
  35. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L373
  36. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L376
  37. magic-value-comparison:
    Consider using a named constant or an enum instead of ''init''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L392
  38. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L151
  39. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L195
  40. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L197
  41. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L197
  42. magic-value-comparison:
    Consider using a named constant or an enum instead of ''staticmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L199
  43. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L96
  44. magic-value-comparison:
    Consider using a named constant or an enum instead of ''property''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L97
  45. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_proxied''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L136
  46. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ClassDef''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L287
  47. magic-value-comparison:
    Consider using a named constant or an enum instead of ''self''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L305
  48. magic-value-comparison:
    Consider using a named constant or an enum instead of ''new''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L479
  49. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L483
  50. magic-value-comparison:
    Consider using a named constant or an enum instead of ''new''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L539
  51. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L656
  52. magic-value-comparison:
    Consider using a named constant or an enum instead of ''new''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L657
  53. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class_getitem''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L478
  54. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L507
  55. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_io''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L551
  56. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L551
  57. magic-value-comparison:
    Consider using a named constant or an enum instead of ''distutils''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/interpreter/_import/spec.py#L197
  58. magic-value-comparison:
    Consider using a named constant or an enum instead of ''''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/_base_nodes.py#L178
  59. magic-value-comparison:
    Consider using a named constant or an enum instead of ''%''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/_base_nodes.py#L405
  60. magic-value-comparison:
    Consider using a named constant or an enum instead of ''|''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/_base_nodes.py#L608
  61. magic-value-comparison:
    Consider using a named constant or an enum instead of ''**''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L147
  62. magic-value-comparison:
    Consider using a named constant or an enum instead of ''**''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L235
  63. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Const''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L303
  64. magic-value-comparison:
    Consider using a named constant or an enum instead of ''index''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L490
  65. magic-value-comparison:
    Consider using a named constant or an enum instead of ''tuple''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L493
  66. magic-value-comparison:
    Consider using a named constant or an enum instead of ''not''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L541
  67. magic-value-comparison:
    Consider using a named constant or an enum instead of ''doc''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_ng.py#L748
  68. magic-value-comparison:
    Consider using a named constant or an enum instead of ''test''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L152
  69. magic-value-comparison:
    Consider using a named constant or an enum instead of ''handlers''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L164
  70. magic-value-comparison:
    Consider using a named constant or an enum instead of ''body''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L165
  71. magic-value-comparison:
    Consider using a named constant or an enum instead of ''body''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L169
  72. magic-value-comparison:
    Consider using a named constant or an enum instead of ''handlers''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L170
  73. magic-value-comparison:
    Consider using a named constant or an enum instead of ''handlers''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L174
  74. magic-value-comparison:
    Consider using a named constant or an enum instead of ''orelse''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L174
  75. magic-value-comparison:
    Consider using a named constant or an enum instead of ''orelse''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L177
  76. magic-value-comparison:
    Consider using a named constant or an enum instead of ''handlers''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L177
  77. magic-value-comparison:
    Consider using a named constant or an enum instead of ''handlers''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L188
  78. magic-value-comparison:
    Consider using a named constant or an enum instead of ''handlers''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L188
  79. magic-value-comparison:
    Consider using a named constant or an enum instead of ''argv''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1102
  80. magic-value-comparison:
    Consider using a named constant or an enum instead of ''sys''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1102
  81. magic-value-comparison:
    Consider using a named constant or an enum instead of ''**''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1526
  82. magic-value-comparison:
    Consider using a named constant or an enum instead of ''or''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1646
  83. magic-value-comparison:
    Consider using a named constant or an enum instead of ''value''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L2086
  84. magic-value-comparison:
    Consider using a named constant or an enum instead of ''NotImplementedError''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3457
  85. magic-value-comparison:
    Consider using a named constant or an enum instead of ''start''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3576
  86. magic-value-comparison:
    Consider using a named constant or an enum instead of ''stop''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3578
  87. magic-value-comparison:
    Consider using a named constant or an enum instead of ''step''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3580
  88. magic-value-comparison:
    Consider using a named constant or an enum instead of ''not''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L4281
  89. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/mixin.py#L138
  90. magic-value-comparison:
    Consider using a named constant or an enum instead of ''dict''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/utils.py#L29
  91. magic-value-comparison:
    Consider using a named constant or an enum instead of ''typing.Generic''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L123
  92. magic-value-comparison:
    Consider using a named constant or an enum instead of ''typing.Generic''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L133
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L165
  94. magic-value-comparison:
    Consider using a named constant or an enum instead of ''property''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L167
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of ''staticmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L169
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L858
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of ''self''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L896
  98. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L932
  99. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L942
  100. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1250
  101. magic-value-comparison:
    Consider using a named constant or an enum instead of ''method''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1260
  102. magic-value-comparison:
    Consider using a named constant or an enum instead of ''new''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1313
  103. magic-value-comparison:
    Consider using a named constant or an enum instead of ''init_subclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1315
  104. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class_getitem''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1317
  105. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1332
  106. magic-value-comparison:
    Consider using a named constant or an enum instead of ''function''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1425
  107. magic-value-comparison:
    Consider using a named constant or an enum instead of ''with_metaclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1581
  108. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1677
  109. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1733
  110. magic-value-comparison:
    Consider using a named constant or an enum instead of ''metaclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1752
  111. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1783
  112. magic-value-comparison:
    Consider using a named constant or an enum instead of ''metaclass''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1784
  113. magic-value-comparison:
    Consider using a named constant or an enum instead of ''call''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2145
  114. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.type.call''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2150
  115. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.object''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2233
  116. magic-value-comparison:
    Consider using a named constant or an enum instead of ''bases''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2408
  117. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2458
  118. magic-value-comparison:
    Consider using a named constant or an enum instead of ''staticmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2466
  119. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2559
  120. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2617
  121. magic-value-comparison:
    Consider using a named constant or an enum instead of ''slots''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2734
  122. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.object''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2816
  123. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.object''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2864
  124. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.object''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L2888
  125. magic-value-comparison:
    Consider using a named constant or an enum instead of ''parents''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_pathlib.py#L22
  126. magic-value-comparison:
    Consider using a named constant or an enum instead of ''pathlib._PathParents''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_pathlib.py#L33
  127. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class_getitem''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L259
  128. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_VariadicGenericAlias''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L350
  129. magic-value-comparison:
    Consider using a named constant or an enum instead of ''tuple''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L353
  130. magic-value-comparison:
    Consider using a named constant or an enum instead of ''collections.abc.Callable''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L355
  131. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_TupleType''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L359
  132. magic-value-comparison:
    Consider using a named constant or an enum instead of ''tuple''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L361
  133. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_CallableType''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L362
  134. magic-value-comparison:
    Consider using a named constant or an enum instead of ''collections.abc.Callable''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L364
  135. magic-value-comparison:
    Consider using a named constant or an enum instead of ''cast''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L402
  136. magic-value-comparison:
    Consider using a named constant or an enum instead of ''cast''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L404
  137. magic-value-comparison:
    Consider using a named constant or an enum instead of ''typing.cast''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_typing.py#L421
  138. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_type.py#L41
  139. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_type.py#L55
  140. magic-value-comparison:
    Consider using a named constant or an enum instead of ''regex.regex''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_regex.py#L63
  141. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_regex.py#L65
  142. magic-value-comparison:
    Consider using a named constant or an enum instead of ''class''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L152
  143. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L176
  144. magic-value-comparison:
    Consider using a named constant or an enum instead of ''re''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L177
  145. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L179
  146. magic-value-comparison:
    Consider using a named constant or an enum instead of ''fromkeys''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L196
  147. magic-value-comparison:
    Consider using a named constant or an enum instead of ''dict''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L198
  148. magic-value-comparison:
    Consider using a named constant or an enum instead of ''classmethod''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L489
  149. magic-value-comparison:
    Consider using a named constant or an enum instead of ''format''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L1007
  150. magic-value-comparison:
    Consider using a named constant or an enum instead of ''copy''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_builtin_inference.py#L1104
  151. magic-value-comparison:
    Consider using a named constant or an enum instead of ''six.moves''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_six.py#L136
  152. magic-value-comparison:
    Consider using a named constant or an enum instead of ''six.moves''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_six.py#L137
  153. magic-value-comparison:
    Consider using a named constant or an enum instead of '' ''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L137
  154. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L271
  155. magic-value-comparison:
    Consider using a named constant or an enum instead of ''enum''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L391
  156. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ignore''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L399
  157. magic-value-comparison:
    Consider using a named constant or an enum instead of ''IntFlag''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L451
  158. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L516
  159. magic-value-comparison:
    Consider using a named constant or an enum instead of ''field_names''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L620
  160. magic-value-comparison:
    Consider using a named constant or an enum instead of ''NamedTuple''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L666
  161. magic-value-comparison:
    Consider using a named constant or an enum instead of ''typing''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_namedtuple_enum.py#L667
  162. magic-value-comparison:
    Consider using a named constant or an enum instead of ''win32''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_signal.py#L54
  163. magic-value-comparison:
    Consider using a named constant or an enum instead of ''win32''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_signal.py#L81
  164. magic-value-comparison:
    Consider using a named constant or an enum instead of ''win32''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_signal.py#L108
  165. magic-value-comparison:
    Consider using a named constant or an enum instead of ''kw_only''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L81
  166. magic-value-comparison:
    Consider using a named constant or an enum instead of ''init''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L140
  167. magic-value-comparison:
    Consider using a named constant or an enum instead of ''init''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L157
  168. magic-value-comparison:
    Consider using a named constant or an enum instead of ''builtins.property''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L261
  169. magic-value-comparison:
    Consider using a named constant or an enum instead of ''init''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L272
  170. magic-value-comparison:
    Consider using a named constant or an enum instead of ''default''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L301
  171. magic-value-comparison:
    Consider using a named constant or an enum instead of ''default_factory''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L303
  172. magic-value-comparison:
    Consider using a named constant or an enum instead of ''kw_only''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L340
  173. magic-value-comparison:
    Consider using a named constant or an enum instead of ''self''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L374
  174. magic-value-comparison:
    Consider using a named constant or an enum instead of ''default''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L422
  175. magic-value-comparison:
    Consider using a named constant or an enum instead of ''default''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L518
  176. magic-value-comparison:
    Consider using a named constant or an enum instead of ''default_factory''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L520
  177. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ClassVar''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L548
  178. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ClassVar''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L554
  179. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ClassVar''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L556
  180. magic-value-comparison:
    Consider using a named constant or an enum instead of ''dataclasses._KW_ONLY_TYPE''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L567
  181. magic-value-comparison:
    Consider using a named constant or an enum instead of ''InitVar''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_dataclasses.py#L578
  182. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Signal''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_qt.py#L20
  183. magic-value-comparison:
    Consider using a named constant or an enum instead of ''ndarray''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_numpy_ndarray.py#L155
  184. magic-value-comparison:
    Consider using a named constant or an enum instead of ''gi.repository.GLib''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_gi.py#L170
  185. magic-value-comparison:
    Consider using a named constant or an enum instead of ''gi.repository.GObject''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_gi.py#L172
  186. magic-value-comparison:
    Consider using a named constant or an enum instead of ''require_version''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_gi.py#L221
  187. magic-value-comparison:
    Consider using a named constant or an enum instead of ''gi''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_gi.py#L223
  188. magic-value-comparison:
    Consider using a named constant or an enum instead of ''require_version''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_gi.py#L229
  189. magic-value-comparison:
    Consider using a named constant or an enum instead of ''_''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_nose.py#L42
  190. magic-value-comparison:
    Consider using a named constant or an enum instead of ''assertEqual''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_nose.py#L45
  191. magic-value-comparison:
    Consider using a named constant or an enum instead of ''nose.tools''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_nose.py#L78
  192. magic-value-comparison:
    Consider using a named constant or an enum instead of ''attr._next_gen''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_attrs.py#L54
  193. magic-value-comparison:
    Consider using a named constant or an enum instead of ''uuid.UUID''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_uuid.py#L18
  194. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Namespace''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_argparse.py#L42
  195. magic-value-comparison:
    Consider using a named constant or an enum instead of ''argparse''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_argparse.py#L44
  196. magic-value-comparison:
    Consider using a named constant or an enum instead of ''draw''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_hypothesis.py#L32
  197. magic-value-comparison:
    Consider using a named constant or an enum instead of ''functools''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_functools.py#L154
  198. magic-value-comparison:
    Consider using a named constant or an enum instead of ''re''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_re.py#L64
  199. magic-value-comparison:
    Consider using a named constant or an enum instead of ''type''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_re.py#L66
  200. magic-value-comparison:
    Consider using a named constant or an enum instead of ''sample''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_random.py#L94
  201. magic-value-comparison:
    Consider using a named constant or an enum instead of ''sample''.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/brain/brain_random.py#L96

The following messages are no longer emitted:

  1. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/arguments.py#L215
  2. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/arguments.py#L230
  3. magic-value-comparison:
    Consider using a named constant or an enum instead of 'classmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/arguments.py#L234
  4. magic-value-comparison:
    Consider using a named constant or an enum instead of 'next'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/util.py#L31
  5. magic-value-comparison:
    Consider using a named constant or an enum instead of 'accept'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/util.py#L35
  6. magic-value-comparison:
    Consider using a named constant or an enum instead of 'ignore'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/util.py#L131
  7. magic-value-comparison:
    Consider using a named constant or an enum instead of 'is'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L72
  8. magic-value-comparison:
    Consider using a named constant or an enum instead of 'is not'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L72
  9. magic-value-comparison:
    Consider using a named constant or an enum instead of 'body'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L105
  10. magic-value-comparison:
    Consider using a named constant or an enum instead of 'orelse'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/constraint.py#L107
  11. magic-value-comparison:
    Consider using a named constant or an enum instead of 'win32'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/const.py#L14
  12. magic-value-comparison:
    Consider using a named constant or an enum instead of 'pypy'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/const.py#L16
  13. magic-value-comparison:
    Consider using a named constant or an enum instead of 'jython'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/const.py#L17
  14. magic-value-comparison:
    Consider using a named constant or an enum instead of 'nt'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L58
  15. magic-value-comparison:
    Consider using a named constant or an enum instead of 'posix'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L89
  16. magic-value-comparison:
    Consider using a named constant or an enum instead of 'xml'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L375
  17. magic-value-comparison:
    Consider using a named constant or an enum instead of '.pyi'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/modutils.py#L500
  18. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/helpers.py#L50
  19. magic-value-comparison:
    Consider using a named constant or an enum instead of 'len'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/helpers.py#L262
  20. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins.int'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/helpers.py#L304
  21. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins.object'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L54
  22. magic-value-comparison:
    Consider using a named constant or an enum instead of 'future'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L158
  23. magic-value-comparison:
    Consider using a named constant or an enum instead of 'init'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L196
  24. magic-value-comparison:
    Consider using a named constant or an enum instead of ''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/builder.py#L216
  25. magic-value-comparison:
    Consider using a named constant or an enum instead of 'Instance'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/decorators.py#L51
  26. magic-value-comparison:
    Consider using a named constant or an enum instead of 'metaclass'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/rebuilder.py#L899
  27. magic-value-comparison:
    Consider using a named constant or an enum instead of 'metaclass'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/rebuilder.py#L912
  28. magic-value-comparison:
    Consider using a named constant or an enum instead of '**'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L113
  29. magic-value-comparison:
    Consider using a named constant or an enum instead of '%'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L131
  30. magic-value-comparison:
    Consider using a named constant or an enum instead of '+'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L191
  31. magic-value-comparison:
    Consider using a named constant or an enum instead of ''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L200
  32. magic-value-comparison:
    Consider using a named constant or an enum instead of ''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L205
  33. magic-value-comparison:
    Consider using a named constant or an enum instead of 'staticmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L365
  34. magic-value-comparison:
    Consider using a named constant or an enum instead of 'metaclass'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L368
  35. magic-value-comparison:
    Consider using a named constant or an enum instead of 'classmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L373
  36. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L376
  37. magic-value-comparison:
    Consider using a named constant or an enum instead of 'init'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/protocols.py#L392
  38. magic-value-comparison:
    Consider using a named constant or an enum instead of 'class'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L151
  39. magic-value-comparison:
    Consider using a named constant or an enum instead of 'classmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L195
  40. magic-value-comparison:
    Consider using a named constant or an enum instead of 'classmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L197
  41. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L197
  42. magic-value-comparison:
    Consider using a named constant or an enum instead of 'staticmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/objects.py#L199
  43. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L96
  44. magic-value-comparison:
    Consider using a named constant or an enum instead of 'property'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L97
  45. magic-value-comparison:
    Consider using a named constant or an enum instead of '_proxied'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L136
  46. magic-value-comparison:
    Consider using a named constant or an enum instead of 'ClassDef'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L287
  47. magic-value-comparison:
    Consider using a named constant or an enum instead of 'self'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L305
  48. magic-value-comparison:
    Consider using a named constant or an enum instead of 'new'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L479
  49. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins.type'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L483
  50. magic-value-comparison:
    Consider using a named constant or an enum instead of 'new'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L539
  51. magic-value-comparison:
    Consider using a named constant or an enum instead of 'type'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L656
  52. magic-value-comparison:
    Consider using a named constant or an enum instead of 'new'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/bases.py#L657
  53. magic-value-comparison:
    Consider using a named constant or an enum instead of 'class_getitem'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L478
  54. magic-value-comparison:
    Consider using a named constant or an enum instead of 'class'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L507
  55. magic-value-comparison:
    Consider using a named constant or an enum instead of '_io'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L551
  56. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/raw_building.py#L551
  57. magic-value-comparison:
    Consider using a named constant or an enum instead of 'distutils'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/interpreter/_import/spec.py#L197
  58. magic-value-comparison:
    Consider using a named constant or an enum instead of ''.*
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/_base_nodes.py#L178
  59. magic-value-comparison:
    Consider using a named constant or an enum instead of '%'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/_base_nodes.py#L405
  60. magic-value-comparison:
    Consider using a named constant or an enum instead of '|'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/_base_nodes.py#L608
  61. magic-value-comparison:
    Consider using a named constant or an enum instead of '**'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L147
  62. magic-value-comparison:
    Consider using a named constant or an enum instead of '**'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L235
  63. magic-value-comparison:
    Consider using a named constant or an enum instead of 'Const'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L303
  64. magic-value-comparison:
    Consider using a named constant or an enum instead of 'index'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L490
  65. magic-value-comparison:
    Consider using a named constant or an enum instead of 'tuple'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L493
  66. magic-value-comparison:
    Consider using a named constant or an enum instead of 'not'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/as_string.py#L541
  67. magic-value-comparison:
    Consider using a named constant or an enum instead of 'doc'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_ng.py#L748
  68. magic-value-comparison:
    Consider using a named constant or an enum instead of 'test'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L152
  69. magic-value-comparison:
    Consider using a named constant or an enum instead of 'handlers'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L164
  70. magic-value-comparison:
    Consider using a named constant or an enum instead of 'body'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L165
  71. magic-value-comparison:
    Consider using a named constant or an enum instead of 'body'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L169
  72. magic-value-comparison:
    Consider using a named constant or an enum instead of 'handlers'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L170
  73. magic-value-comparison:
    Consider using a named constant or an enum instead of 'handlers'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L174
  74. magic-value-comparison:
    Consider using a named constant or an enum instead of 'orelse'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L174
  75. magic-value-comparison:
    Consider using a named constant or an enum instead of 'orelse'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L177
  76. magic-value-comparison:
    Consider using a named constant or an enum instead of 'handlers'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L177
  77. magic-value-comparison:
    Consider using a named constant or an enum instead of 'handlers'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L188
  78. magic-value-comparison:
    Consider using a named constant or an enum instead of 'handlers'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L188
  79. magic-value-comparison:
    Consider using a named constant or an enum instead of 'argv'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1102
  80. magic-value-comparison:
    Consider using a named constant or an enum instead of 'sys'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1102
  81. magic-value-comparison:
    Consider using a named constant or an enum instead of '**'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1526
  82. magic-value-comparison:
    Consider using a named constant or an enum instead of 'or'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L1646
  83. magic-value-comparison:
    Consider using a named constant or an enum instead of 'value'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L2086
  84. magic-value-comparison:
    Consider using a named constant or an enum instead of 'NotImplementedError'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3457
  85. magic-value-comparison:
    Consider using a named constant or an enum instead of 'start'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3576
  86. magic-value-comparison:
    Consider using a named constant or an enum instead of 'stop'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3578
  87. magic-value-comparison:
    Consider using a named constant or an enum instead of 'step'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L3580
  88. magic-value-comparison:
    Consider using a named constant or an enum instead of 'not'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/node_classes.py#L4281
  89. magic-value-comparison:
    Consider using a named constant or an enum instead of 'class'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/mixin.py#L138
  90. magic-value-comparison:
    Consider using a named constant or an enum instead of 'dict'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/utils.py#L29
  91. magic-value-comparison:
    Consider using a named constant or an enum instead of 'typing.Generic'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L123
  92. magic-value-comparison:
    Consider using a named constant or an enum instead of 'typing.Generic'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L133
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of 'classmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L165
  94. magic-value-comparison:
    Consider using a named constant or an enum instead of 'property'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L167
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of 'staticmethod'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L169
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of 'builtins'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L858
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of 'self'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L896
  98. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L932
  99. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L942
  100. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1250
  101. magic-value-comparison:
    Consider using a named constant or an enum instead of 'method'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1260
  102. magic-value-comparison:
    Consider using a named constant or an enum instead of 'new'.
    https://github.com/pylint-dev/astroid/blob/2fa38828da3f69813f03cbccb9eadbd1ed1ff1cb/astroid/nodes/scoped_nodes/scoped_nodes.py#L1313
  103. magic-va...

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

This comment was generated for commit 5a207bd

Pierre-Sassoulas pushed a commit that referenced this pull request Oct 18, 2023
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 does not escape strings before outputting them in messages
2 participants