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

Improve documentation for consider-alternative-union-syntax / R6003 #10044

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Ige-kun
Copy link

@Ige-kun Ige-kun commented Oct 25, 2024

Type of Changes

Type
βœ“ πŸ“œ Docs

Description

This PR updates the documentation for R6003 with rationale on why exactly the message is emitted. The examples have also been updated to show both typing.Union and typing.Optional use cases.

I've also changed the phrase Union syntax to union syntax, since in that context it's referring to the concept in general rather than the typing module in particular.

Closes #10040.

@Ige-kun Ige-kun requested a review from cdce8p as a code owner October 25, 2024 20:14
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 95.80%. Comparing base (2e0c41f) to head (3d4e653).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10044   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files         174      174           
  Lines       18937    18937           
=======================================
  Hits        18143    18143           
  Misses        794      794           
Files with missing lines Coverage Ξ”
pylint/extensions/typing.py 97.76% <ΓΈ> (ΓΈ)

Copy link
Contributor

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

Effect on poetry-core:
The following messages are now emitted:

  1. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/factory.py#L29
  2. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/factory.py#L31
  3. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/markers.py#L227
  4. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/markers.py#L339
  5. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/pep440/segments.py#L162
  6. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/pep440/segments.py#L162
  7. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/pep440/segments.py#L162

The following messages are no longer emitted:

  1. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/factory.py#L29
  2. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/factory.py#L31
  3. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/markers.py#L227
  4. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/markers.py#L339
  5. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/pep440/segments.py#L162
  6. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/pep440/segments.py#L162
  7. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/python-poetry/poetry-core/blob/737a203a96b8568a209209510044121eca32fe8f/src/poetry/core/version/pep440/segments.py#L162

Effect on black:
The following messages are now emitted:

  1. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L120
  2. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L121
  3. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L201
  4. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L212
  5. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L232
  6. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L233
  7. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L516
  8. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L535
  9. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L537
  10. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L538
  11. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L539
  12. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L540
  13. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L541
  14. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L543
  15. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L736
  16. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L737
  17. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L738
  18. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L740
  19. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L748
  20. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L993
  21. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1246
  22. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1287
  23. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1427
  24. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1444
  25. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/concurrency.py#L77
  26. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L60
  27. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L1283
  28. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L1782
  29. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2007
  30. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2032
  31. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2059
  32. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2094
  33. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2141
  34. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L28
  35. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L436
  36. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L436
  37. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L454
  38. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L454
  39. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L470
  40. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L470
  41. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L483
  42. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L485
  43. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L533
  44. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L948
  45. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L1008
  46. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L1018
  47. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L16
  48. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L25
  49. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L34
  50. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L38
  51. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/debug.py#L10
  52. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/debug.py#L46
  53. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/handle_ipynb_magics.py#L352
  54. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/handle_ipynb_magics.py#L382
  55. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/rusty.py#L28
  56. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L22
  57. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L65
  58. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L213
  59. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L232
  60. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L35
  61. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L50
  62. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L158
  63. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L223
  64. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L520
  65. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L544
  66. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L545
  67. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L547
  68. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L701
  69. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L831
  70. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L835
  71. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L838
  72. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L857
  73. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L937
  74. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/ranges.py#L385
  75. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L87
  76. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L297
  77. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L594
  78. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L775
  79. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L843
  80. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L844
  81. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L865
  82. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1189
  83. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1520
  84. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1711
  85. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1712
  86. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L43
  87. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L55
  88. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L106
  89. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L107
  90. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L147
  91. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L170
  92. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L185
  93. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L265
  94. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L321
  95. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L332
  96. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L333
  97. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L335
  98. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L418
  99. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/comments.py#L21
  100. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/comments.py#L246
  101. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/comments.py#L278
  102. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L26
  103. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L29
  104. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L48
  105. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L50
  106. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L50
  107. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L50
  108. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L65
  109. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L127
  110. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L151
  111. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L167
  112. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L183
  113. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L197
  114. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L234
  115. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L235
  116. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L241
  117. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L242
  118. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L243
  119. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L355
  120. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L355
  121. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L356
  122. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L356
  123. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L359
  124. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L360
  125. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L363
  126. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L379
  127. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L380
  128. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L387
  129. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L393
  130. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L394
  131. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L396
  132. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L397
  133. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L413
  134. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L514
  135. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L517
  136. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L542
  137. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L556
  138. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L568
  139. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L592
  140. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L593
  141. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L594
  142. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L642
  143. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L643
  144. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L644
  145. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L723
  146. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L726
  147. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L915
  148. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pygram.py#L165
  149. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/tokenize.py#L282
  150. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/tokenize.py#L390
  151. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/tokenize.py#L555
  152. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/tokenize.py#L578
  153. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/tokenize.py#L585
  154. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L26
  155. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L105
  156. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L106
  157. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L123
  158. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L123
  159. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L164
  160. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L202
  161. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L204
  162. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/parse.py#L225
  163. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L36
  164. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L42
  165. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L108
  166. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L192
  167. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L235
  168. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L248
  169. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L251
  170. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/driver.py#L281
  171. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/grammar.py#L25
  172. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/grammar.py#L28
  173. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L10
  174. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L21
  175. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L23
  176. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L166
  177. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L337
  178. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L363
  179. consider-alternative-union-syntax:
    Consider using alternative union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pgen2/pgen.py#L368

The following messages are no longer emitted:

  1. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L120
  2. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L121
  3. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L201
  4. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L212
  5. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L232
  6. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L233
  7. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L516
  8. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L535
  9. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L537
  10. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L538
  11. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L539
  12. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L540
  13. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L541
  14. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L543
  15. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L736
  16. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L737
  17. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L738
  18. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L740
  19. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L748
  20. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L993
  21. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1246
  22. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1287
  23. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1427
  24. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/__init__.py#L1444
  25. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/concurrency.py#L77
  26. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L60
  27. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L1283
  28. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L1782
  29. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2007
  30. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2032
  31. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2059
  32. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2094
  33. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/trans.py#L2141
  34. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L28
  35. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L436
  36. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L436
  37. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L454
  38. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L454
  39. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L470
  40. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L470
  41. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L483
  42. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L485
  43. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L533
  44. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L948
  45. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L1008
  46. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/nodes.py#L1018
  47. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L16
  48. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L25
  49. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L34
  50. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/output.py#L38
  51. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/debug.py#L10
  52. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/debug.py#L46
  53. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/handle_ipynb_magics.py#L352
  54. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/handle_ipynb_magics.py#L382
  55. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/rusty.py#L28
  56. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L22
  57. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L65
  58. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L213
  59. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/brackets.py#L232
  60. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L35
  61. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L50
  62. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L158
  63. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L223
  64. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L520
  65. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L544
  66. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L545
  67. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L547
  68. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L701
  69. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L831
  70. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L835
  71. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L838
  72. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L857
  73. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/lines.py#L937
  74. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/ranges.py#L385
  75. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L87
  76. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L297
  77. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L594
  78. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L775
  79. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L843
  80. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L844
  81. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L865
  82. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1189
  83. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1520
  84. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1711
  85. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/linegen.py#L1712
  86. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L43
  87. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L55
  88. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L106
  89. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L107
  90. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L147
  91. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L170
  92. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L185
  93. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L265
  94. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L321
  95. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L332
  96. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L333
  97. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L335
  98. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/files.py#L418
  99. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/comments.py#L21
  100. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/comments.py#L246
  101. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/black/comments.py#L278
  102. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L26
  103. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L29
  104. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L48
  105. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L50
  106. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L50
  107. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L50
  108. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L65
  109. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Union'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L127
  110. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L151
  111. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L167
  112. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L183
  113. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L197
  114. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L234
  115. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L235
  116. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L241
  117. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L242
  118. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L243
  119. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L355
  120. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L355
  121. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L356
  122. consider-alternative-union-syntax:
    Consider using alternative Union syntax instead of 'Optional'
    https://github.com/psf/black/blob/f54f34799b52dbe48c5f9d5f31ad0f9bf82d0fa5/src/blib2to3/pytree.py#L356
  123. consider-alternative-union-syntax:
    *Consider using alternative Uni...

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

This comment was generated for commit 3d4e653

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

Successfully merging this pull request may close these issues.

Document rationale for consider-alternative-union-syntax/R6003
1 participant