Skip to content

Commit 1e558d8

Browse files
[pre-commit] pre-commit autoupdate (#1706)
1 parent 30021d7 commit 1e558d8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
3+
rev: v6.0.0
44
hooks:
55
- id: end-of-file-fixer
66
- id: check-added-large-files
77
- id: trailing-whitespace
88
- id: check-yaml
99
- repo: https://github.com/tox-dev/pyproject-fmt
10-
rev: v2.6.0
10+
rev: v2.7.0
1111
hooks:
1212
- id: pyproject-fmt
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
@@ -17,7 +17,7 @@ repos:
1717
args: [ "--fix", "--unsafe-fixes", "--show-fixes", "--exit-non-zero-on-fix"]
1818
- id: ruff-format
1919
- repo: https://github.com/pre-commit/mirrors-mypy
20-
rev: v1.14.1
20+
rev: v1.19.1
2121
hooks:
2222
- id: mypy
2323
args: ['--warn-unused-ignores', '--strict-equality','--no-implicit-optional', '--check-untyped-defs']
@@ -30,7 +30,7 @@ repos:
3030
- "tomli; python_version < '3.11'"
3131
# Configuration for codespell is in pyproject.toml
3232
- repo: https://github.com/codespell-project/codespell
33-
rev: v2.3.0
33+
rev: v2.4.1
3434
hooks:
3535
- id: codespell
3636
additional_dependencies:

src/pipx/interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _find_default_windows_python() -> str:
154154

155155
proc = subprocess.run([python, "-V"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, check=False)
156156
if proc.returncode != 0:
157-
# Cover the 9009 return code pre-emptively.
157+
# Cover the 9009 return code preemptively.
158158
raise PipxError("No suitable Python found")
159159
if not proc.stdout.strip():
160160
# A real Python should print version, Windows Store stub won't.

src/pipx/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ def _add_run(subparsers: argparse._SubParsersAction, shared_parser: argparse.Arg
816816
f"""
817817
Download the latest version of a package to a temporary virtual environment,
818818
then run an app from it. The environment will be cached
819-
and re-used for up to {constants.TEMP_VENV_EXPIRATION_THRESHOLD_DAYS} days. This
819+
and reused for up to {constants.TEMP_VENV_EXPIRATION_THRESHOLD_DAYS} days. This
820820
means subsequent calls to 'run' for the same package will be faster
821821
since they can reuse the cached Virtual Environment.
822822

0 commit comments

Comments
 (0)