Get rid of redundant spaces in docs (#2085)

Thanks!
This commit is contained in:
Jakub Warczarek 2021-04-04 16:21:33 +02:00 committed by GitHub
parent 201b331e55
commit e114ef5514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

View File

@ -103,8 +103,8 @@ Options:
split lines. split lines.
--check Don't write the files back, just return the --check Don't write the files back, just return the
status. Return code 0 means nothing would status. Return code 0 means nothing would
change. Return code 1 means some files change. Return code 1 means some files
would be reformatted. Return code 123 means would be reformatted. Return code 123 means
there was an internal error. there was an internal error.
@ -119,20 +119,20 @@ Options:
--include TEXT A regular expression that matches files and --include TEXT A regular expression that matches files and
directories that should be included on directories that should be included on
recursive searches. An empty value means recursive searches. An empty value means
all files are included regardless of the all files are included regardless of the
name. Use forward slashes for directories name. Use forward slashes for directories
on all platforms (Windows, too). Exclusions on all platforms (Windows, too). Exclusions
are calculated first, inclusions later. are calculated first, inclusions later.
[default: \.pyi?$] [default: \.pyi?$]
--exclude TEXT A regular expression that matches files and --exclude TEXT A regular expression that matches files and
directories that should be excluded on directories that should be excluded on
recursive searches. An empty value means no recursive searches. An empty value means no
paths are excluded. Use forward slashes for paths are excluded. Use forward slashes for
directories on all platforms (Windows, too). directories on all platforms (Windows, too).
Exclusions are calculated first, inclusions Exclusions are calculated first, inclusions
later. [default: /(\.direnv|\.eggs|\.git|\. later. [default: /(\.direnv|\.eggs|\.git|\.
hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_bu hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_bu
ild|buck-out|build|dist)/] ild|buck-out|build|dist)/]

View File

@ -445,8 +445,8 @@ def validate_regex(
"--check", "--check",
is_flag=True, is_flag=True,
help=( help=(
"Don't write the files back, just return the status. Return code 0 means" "Don't write the files back, just return the status. Return code 0 means"
" nothing would change. Return code 1 means some files would be reformatted." " nothing would change. Return code 1 means some files would be reformatted."
" Return code 123 means there was an internal error." " Return code 123 means there was an internal error."
), ),
) )
@ -472,9 +472,9 @@ def validate_regex(
callback=validate_regex, callback=validate_regex,
help=( help=(
"A regular expression that matches files and directories that should be" "A regular expression that matches files and directories that should be"
" included on recursive searches. An empty value means all files are included" " included on recursive searches. An empty value means all files are included"
" regardless of the name. Use forward slashes for directories on all platforms" " regardless of the name. Use forward slashes for directories on all platforms"
" (Windows, too). Exclusions are calculated first, inclusions later." " (Windows, too). Exclusions are calculated first, inclusions later."
), ),
show_default=True, show_default=True,
) )
@ -485,8 +485,8 @@ def validate_regex(
callback=validate_regex, callback=validate_regex,
help=( help=(
"A regular expression that matches files and directories that should be" "A regular expression that matches files and directories that should be"
" excluded on recursive searches. An empty value means no paths are excluded." " excluded on recursive searches. An empty value means no paths are excluded."
" Use forward slashes for directories on all platforms (Windows, too). " " Use forward slashes for directories on all platforms (Windows, too)."
" Exclusions are calculated first, inclusions later." " Exclusions are calculated first, inclusions later."
), ),
show_default=True, show_default=True,