Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Jan 19, 2024
1 parent e223219 commit f174839
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) for keeping t

### Improved Documentation

- Add additonal example for --pip-args option, to docs/examples.md
- Add additional example for --pip-args option, to docs/examples.md

## [1.3.1](https://github.com/pypa/pipx/tree/1.3.1)

Expand Down
4 changes: 2 additions & 2 deletions docs/how-pipx-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
When installing a package and its binaries on linux (`pipx install package`) pipx will

- create directory `~/.local/share/pipx/venvs/PACKAGE`
- create or re-use a shared virtual environment that contains shared packaging library `pip` in
- create or reuse a shared virtual environment that contains shared packaging library `pip` in
`~/.local/share/pipx/shared/`
- ensure the library is updated to its latest version
- create a Virtual Environment in `~/.local/share/pipx/venvs/PACKAGE` that uses the shared pip mentioned above but
Expand All @@ -19,7 +19,7 @@ When installing a package and its binaries on linux (`pipx install package`) pip

When running a binary (`pipx run BINARY`), pipx will

- create or re-use a shared virtual environment that contains the shared packaging library `pip`
- create or reuse a shared virtual environment that contains the shared packaging library `pip`
- ensure the library is updated to its latest version
- create a temporary directory (or reuse a cached virtual environment for this package) with a name based on a hash of
the attributes that make the run reproducible. This includes things like the package name, spec, python version, and
Expand Down
4 changes: 2 additions & 2 deletions src/pipx/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def _add_run(subparsers: argparse._SubParsersAction, shared_parser: argparse.Arg
then run an app from it. The environment will be cached
and re-used for up to {constants.TEMP_VENV_EXPIRATION_THRESHOLD_DAYS} days. This
means subsequent calls to 'run' for the same package will be faster
since they can re-use the cached Virtual Environment.
since they can reuse the cached Virtual Environment.
In support of PEP 582 'run' will use apps found in a local __pypackages__
directory, if present. Please note that this behavior is experimental,
Expand All @@ -606,7 +606,7 @@ def _add_run(subparsers: argparse._SubParsersAction, shared_parser: argparse.Arg
p.add_argument(
"--no-cache",
action="store_true",
help="Do not re-use cached virtual environment if it exists",
help="Do not reuse cached virtual environment if it exists",
)
p.add_argument(
"app_with_args",
Expand Down

0 comments on commit f174839

Please sign in to comment.