Skip to content

Commit

Permalink
Fix help message for --no-namespace-packages. (#17472)
Browse files Browse the repository at this point in the history
Fixes #17466

<!-- If this pull request fixes an issue, add "Fixes #NNN" with the
issue number. -->

Change help message of '--no-namespace-packages' option

Co-authored-by: Raphael Krupinski <[email protected]>
  • Loading branch information
rafalkrupinski and Raphael Krupinski committed Jul 3, 2024
1 parent 55a0812 commit 45afd73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def add_invertible_flag(
"--no-namespace-packages",
dest="namespace_packages",
default=True,
help="Support namespace packages (PEP 420, __init__.py-less)",
help="Disable support for namespace packages (PEP 420, __init__.py-less)",
group=imports_group,
)
imports_group.add_argument(
Expand Down

0 comments on commit 45afd73

Please sign in to comment.