Skip to content

Commit 874e61f

Browse files
committed
chore(run): transform comment into docstring
1 parent 423333a commit 874e61f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pipx/commands/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444

4545

4646
def maybe_script_content(app: str, is_path: bool) -> Optional[Union[str, Path]]:
47-
# If the app is a script, return its content.
48-
# Return None if it should be treated as a package name.
47+
"""If the app is a script, return its content.
48+
Return None if it should be treated as a package name."""
4949

5050
# Look for a local file first.
5151
app_path = Path(app)

0 commit comments

Comments
 (0)