8000 Fix typo in error message (#9966) · python/mypy@1cebbf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cebbf2

Browse files
author
Gustav Gränsbo
authored
< 8000 span class="ws-pre-wrap f5 wb-break-word text-mono prc-Text-Text-0ima0">
Fix typo in error message (#9966)
The parameter not permitted with --namespace-packages is --explicit-package-bases, there is no parameter called --explicit-base-dirs
1 parent 37d29fc commit 1cebbf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ def set_strict_flags() -> None:
869869
parser.error("May only specify one of: module/package, files, or command.")
870870
if options.explicit_package_bases and not options.namespace_packages:
871871
parser.error(
872-
"Can only use --explicit-base-dirs with --namespace-packages, since otherwise "
872+
"Can only use --explicit-package-bases with --namespace-packages, since otherwise "
873873
"examining __init__.py's is sufficient to determine module names for files"
874874
)
875875

0 commit comments

Comments
 (0)
0