Skip to content

Commit 6b9eacb

Browse files
committed
fix(cmd[hg]): Fix builtin
src/libvcs/cmd/hg.py:84:9: A002 Argument `help` is shadowing a Python builtin
1 parent e05658d commit 6b9eacb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libvcs/cmd/hg.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def run(
8181
config: Optional[str] = None,
8282
repository: Optional[str] = None,
8383
quiet: Optional[bool] = None,
84-
help: Optional[bool] = None,
84+
_help: Optional[bool] = None,
8585
encoding: Optional[str] = None,
8686
encoding_mode: Optional[str] = None,
8787
verbose: Optional[bool] = None,
@@ -136,7 +136,7 @@ def run(
136136
``--profile``
137137
version : bool
138138
``--version``
139-
help : bool
139+
_help : bool
140140
``-h / --help``
141141
hidden : bool
142142
``--hidden``
@@ -182,7 +182,7 @@ def run(
182182
cli_args.append("--profile")
183183
if version is True:
184184
cli_args.append("--version")
185-
if help is True:
185+
if _help is True:
186186
cli_args.append("--help")
187187

188188
if self.progress_callback is not None:

0 commit comments

Comments
 (0)