You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
- Pass `pip_args` to `shared_libs.upgrade()`
5
5
- Fallback to user's log path if the default log path (`$PIPX_HOME/logs`) is not writable to aid with pipx being used for multi-user (e.g. system-wide) installs of applications
6
6
- Fix wrong interpreter usage when injecting local pip-installable dependencies into venvs
Copy file name to clipboardExpand all lines: docs/installation.md
+20
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,26 @@ The zipapp can be downloaded from [Github releases](https://github.com/pypa/pipx
38
38
python pipx.pyz ensurepath
39
39
```
40
40
41
+
<aname="pre-commit"></a>Or use with pre-commit:
42
+
43
+
Pipx has [pre-commit](https://pre-commit.com/) support. This lets you run applications:
44
+
* That can be run using `pipx run` but don't have native pre-commit support.
45
+
* Using its prebuilt wheel from pypi.org instead of building it from source.
46
+
* Using pipx's `--spec` and `--index-url` flags.
47
+
48
+
Example configuration for use of the code linter [yapf](https://github.com/google/yapf/). This is to be added to your `.pre-commit-config.yaml`.
0 commit comments