freeze-transitive-0.0.0a0


توضیحات

Freeze transitive pre-commit dependencies in Python hooks.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل freeze-transitive-0.0.0a0
نام freeze-transitive
نسخه کتابخانه 0.0.0a0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Anton Agestam
ایمیل نویسنده git@antonagestam.se
آدرس صفحه اصلی https://github.com/antonagestam/freeze-transitive/
آدرس اینترنتی https://pypi.org/project/freeze-transitive/
مجوز BSD 3-Clause License
<h1 align=center>freeze-transitive</h1> ### Setup Add the freeze-transitive hook to you pre-commit configuration. ```yaml repos: # Add freeze-transitive to the end of repos, it's important it's the last repository # as environments for previous hooks must be setup before it runs. - repo: https://github.com/antonagestam/freeze-transitive # rev: ... hooks: - id: freeze-transitive ``` Copy your pre-commit configuration to a template file. From now on `.pre-commit-hooks.yaml` acts as a lockfile and you should make no manual edits to it, instead make edits in `.pre-commit-template.yaml`. Both files should be checked into version control. ```sh $ cp .pre-commit-hooks.yaml .pre-commit-template.yaml ``` Now run pre-commit and verify it has updated `.pre-commit-hooks.yaml` with all transitive dependencies pinned. ```sh $ pre-commit run --all-files ``` To run autoupdate, you need to point pre-commit at the template file. ```sh $ pre-commit autoupdate --config=.pre-commit-template.yaml ```


نیازمندی

مقدار نام
>=4.4.0 typing-extensions
>=5.1 pyyaml


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl freeze-transitive-0.0.0a0:

    pip install freeze-transitive-0.0.0a0.whl


نصب پکیج tar.gz freeze-transitive-0.0.0a0:

    pip install freeze-transitive-0.0.0a0.tar.gz