A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pre-commit/sync-pre-commit-deps below:

pre-commit/sync-pre-commit-deps: Sync pre-commit hook dependencies based on other installed hooks

Sync pre-commit hook dependencies based on other installed hooks

pip install sync-pre-commit-deps
install as a pre-commit hook (recommended)

See pre-commit for instructions

Sample .pre-commit-config.yaml:

-   repo: https://github.com/pre-commit/sync-pre-commit-deps
    rev: v0.0.3
    hooks:
    -   id: sync-pre-commit-deps
$ sync-pre-commit-deps path/to/.pre-commit-config.yaml

Ensures tools which declare flake8, black, or mypy as additional dependencies will have those versions synced with the flake8, black, or mypy versions in the rest of the config. For example, flake8 under yesqa is updated from 5.0.0 to 6.0.0.

 repos:
 -   repo: https://github.com/PyCQA/flake8
     rev: 6.0.0
     hooks:
     -   id: flake8
 -   repo: https://github.com/asottile/yesqa
     rev: v1.5.0
     hooks:
     -   id: yesqa
         additional_dependencies:
-        -   flake8==5.0.0
+        -   flake8==6.0.0

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4