Comments (1)
yes. this was briefly discussed here: #584 (comment)
while convenient, install-local depended on an ageing version of virtualenv
and a non-portable installation approach (symlinks)
if you want a more direct replacement -- I would suggest writing a small script utilizing the virtualenv zipapp -- something similar to:
curl --silent --location -o virtualenv.pyz https://bootstrap.pypa.io/virtualenv.pyz
python3 virtualenv.pyz ~/.pre-commit-venv
~/.pre-commit-venv/bin/pip install pre-commit
ln -s ~/.pre-commit-venv/bin/pre-commit ~/bin/pre-commit
this also gives you a lot more control over how and where you install things (rather than the specialized install-local.py
needing to have more features to take on that complexity to support custom installation schemes)
from pre-commit.com.
Related Issues (20)
- Link to `default_install_hook_types` is not correct HOT 4
- Documentation assumes incorrectly that a tag is an immutable ref - leading to a supply-chain security risk HOT 1
- Add sql-formatter hook HOT 2
- Add `Rome` formatter as a mirror. HOT 2
- Itโs not clear which languages canโt be used for local hooks HOT 3
- Version in docs is out of date HOT 1
- pre-commit ci incorrectly reports an error with the walrus operator (python 3.11) HOT 2
- License still necessary
- Ambiguous documentation HOT 1
- `pretty-format-json` timeout error HOT 3
- Filter hooks by language HOT 1
- Bot keeps bumping ruff-pre-commit to incompatible release HOT 6
- Will a hook be accepted if one of the hooks in `.pre-commit-hooks.yaml` is `system`? HOT 3
- [pre-commit]: Spellcheck hook for source code and gitlab/github for commit messages and MR/PR descriptions HOT 1
- If possible, please remove stackoverflow from https://pre-commit.com/#getting-help HOT 2
- Hook fail_fast stops pre-commit if any prior hook fails HOT 2
- pipx installation option HOT 5
- Add Dark Theme HOT 1
- Can we have a CONTRIBUTING.md document? HOT 2
- Selectively skipping pre-commit hooks on Windows HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pre-commit.com.