{"id":28376133,"url":"https://github.com/pre-commit/sync-pre-commit-deps","last_synced_at":"2025-09-18T09:00:52.875Z","repository":{"id":181516189,"uuid":"665142520","full_name":"pre-commit/sync-pre-commit-deps","owner":"pre-commit","description":"Sync pre-commit hook dependencies based on other installed hooks","archived":false,"fork":false,"pushed_at":"2025-09-15T20:38:34.000Z","size":98,"stargazers_count":22,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-16T12:56:05.285Z","etag":null,"topics":["pre-commit","pre-commit-hooks"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pre-commit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"created_at":"2023-07-11T14:24:29.000Z","updated_at":"2025-09-15T20:38:36.000Z","dependencies_parsed_at":"2023-07-16T01:38:44.054Z","dependency_job_id":"480f6874-db7b-4502-b3b0-d25872a02d21","html_url":"https://github.com/pre-commit/sync-pre-commit-deps","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.20454545454545459","last_synced_commit":"0d8cd962991212a906f3a9e990dbdc7c81971e93"},"previous_names":["mxr/sync-pre-commit-deps","pre-commit/sync-pre-commit-deps"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pre-commit/sync-pre-commit-deps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fsync-pre-commit-deps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fsync-pre-commit-deps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fsync-pre-commit-deps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fsync-pre-commit-deps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","download_url":"https://codeload.github.com/pre-commit/sync-pre-commit-deps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fsync-pre-commit-deps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275739745,"owners_count":25519602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pre-commit","pre-commit-hooks"],"created_at":"2025-05-30T00:05:31.723Z","updated_at":"2025-09-18T09:00:52.588Z","avatar_url":"https://github.com/pre-commit.png","language":"Python","readme":"sync-pre-commit-deps\n====================\n\nSync pre-commit hook dependencies based on other installed hooks\n\n## install (standalone)\n\n```bash\npip install sync-pre-commit-deps\n```\n\n## install as a pre-commit hook (recommended)\n\nSee [pre-commit](https://github.com/pre-commit/pre-commit) for instructions\n\nSample `.pre-commit-config.yaml`:\n\n```yaml\n-   repo: https://github.com/pre-commit/sync-pre-commit-deps\n    rev: v0.0.3\n    hooks:\n    -   id: sync-pre-commit-deps\n```\n\n## cli\n\n```console\n$ sync-pre-commit-deps path/to/.pre-commit-config.yaml\n```\n\n## what it does\n\nEnsures 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`.\n\n```diff\n repos:\n -   repo: https://github.com/PyCQA/flake8\n     rev: 6.0.0\n     hooks:\n     -   id: flake8\n -   repo: https://github.com/asottile/yesqa\n     rev: v1.5.0\n     hooks:\n     -   id: yesqa\n         additional_dependencies:\n-        -   flake8==5.0.0\n+        -   flake8==6.0.0\n```\n","funding_links":["https://github.com/sponsors/asottile","https://opencollective.com/pre-commit","https://tidelift.com/funding/github/pypi/pre-commit"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpre-commit%2Fsync-pre-commit-deps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpre-commit%2Fsync-pre-commit-deps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpre-commit%2Fsync-pre-commit-deps/lists"}