Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2023
1 parent 7a60b9c commit 8fd345d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/cli/installer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# `python -m installer`

This interface allows you to install one or more wheels into a Python interpreter.
This interface allows you to install one or more wheels into a Python
interpreter.

```{argparse}
:module: installer.__main__
Expand Down
5 changes: 4 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ def test_main(fancy_wheel, tmp_path):
def test_main_multiple_wheels(fancy_wheel, another_fancy_wheel, tmp_path):
destdir = tmp_path / "dest"

main([str(fancy_wheel), str(another_fancy_wheel), "-d", str(destdir)], "python -m installer")
main(
[str(fancy_wheel), str(another_fancy_wheel), "-d", str(destdir)],
"python -m installer",
)

for wheel_name in ("fancy", "another_fancy"):
installed_py_files = destdir.rglob(f"**/{wheel_name}/**/*.py")
Expand Down

0 comments on commit 8fd345d

Please sign in to comment.