Skip to content

Help message URL incorrect for "None and Optional handling" #19251

Closed
@guywilsonjr

Description

@guywilsonjr

Documentation
This is an issue with command documentation

Running on:

$ python -V
Python 3.13.4

$  mypy -V
mypy 1.16.0 (compiled: yes)

Issue:

$ mypy -h
...
None and Optional handling:
  Adjust how values of type 'None' are handled. For more context on how mypy handles values of type 'None', see: https://mypy.readthedocs.io/en/stable/kinds_of_types.html#no-strict-optional
...

What we should see:

$ mypy -h
...
None and Optional handling:
  Adjust how values of type 'None' are handled. For more context on how mypy handles values of type 'None', see: https://mypy.readthedocs.io/en/stable/kinds_of_types.html#optional-types-and-the-none-type
...

Solution:
Replace no-strict-optional with optional-types-and-the-none-type In the url

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions