{"id":5300542,"name":"pre-commit-hooks","ecosystem":"conda","description":null,"homepage":"https://github.com/pre-commit/pre-commit-hooks","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/pre-commit/pre-commit-hooks","keywords_array":[],"namespace":null,"versions_count":3,"first_release_published_at":"2021-12-30T13:31:14.000Z","latest_release_published_at":"2022-10-22T08:06:20.000Z","latest_release_number":"4.3.0","last_synced_at":"2026-03-14T16:22:07.381Z","created_at":"2022-10-03T16:09:03.351Z","updated_at":"2026-03-14T16:23:12.543Z","registry_url":"https://anaconda.org/conda-forge/pre-commit-hooks","install_command":"conda install -c conda-forge pre-commit-hooks","documentation_url":null,"metadata":{},"repo_metadata":{"id":14989457,"uuid":"17714713","full_name":"pre-commit/pre-commit-hooks","owner":"pre-commit","description":"Some out-of-the-box hooks for pre-commit","archived":false,"fork":false,"pushed_at":"2025-12-22T21:55:45.000Z","size":985,"stargazers_count":6374,"open_issues_count":11,"forks_count":778,"subscribers_count":46,"default_branch":"main","last_synced_at":"2026-02-27T19:59:58.969Z","etag":null,"topics":["git","linter","pre-commit","python","refactoring"],"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":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"created_at":"2014-03-13T15:21:46.000Z","updated_at":"2026-02-27T16:45:10.000Z","dependencies_parsed_at":"2023-12-04T08:04:32.911Z","dependency_job_id":"f95a5603-4051-4a6b-bd2f-bd5b3c58c8c2","html_url":"https://github.com/pre-commit/pre-commit-hooks","commit_stats":{"total_commits":698,"total_committers":120,"mean_commits":5.816666666666666,"dds":0.5300859598853869,"last_synced_commit":"e437b7ed51d806a5bfaf922903a42f0a35de856a"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/pre-commit/pre-commit-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","download_url":"https://codeload.github.com/pre-commit/pre-commit-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-hooks/sbom","scorecard":{"id":685637,"data":{"date":"2025-08-11","repo":{"name":"github.com/pre-commit/pre-commit-hooks","commit":"e5e94e8702cbd993aaa4b67559f576dde7ef7adc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.8,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":3,"reason":"Found 2/6 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"14 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit-hooks/main.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/pre-commit/pre-commit-hooks/main.yml/main?enable=pin","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found linked content: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/pre-commit/.github/.github/SECURITY.md:1","Info: Found text in security policy: github.com/pre-commit/.github/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T00:42:30.865Z","repository_id":14989457,"created_at":"2025-08-22T00:42:30.866Z","updated_at":"2025-08-22T00:42:30.866Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29917208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"},"owner_record":{"login":"pre-commit","name":"pre-commit","uuid":"6943086","kind":"organization","description":"A framework for managing and maintaining multi-language pre-commit hooks.","email":null,"website":"https://pre-commit.com","location":null,"twitter":"pre_commit","company":null,"icon_url":"https://avatars.githubusercontent.com/u/6943086?v=4","repositories_count":29,"last_synced_at":"2024-10-29T22:38:48.625Z","metadata":{"has_sponsors_listing":false,"funding":{"github":"asottile","open_collective":"pre-commit","tidelift":"pypi/pre-commit"}},"html_url":"https://github.com/pre-commit","funding_links":["https://github.com/sponsors/asottile","https://opencollective.com/pre-commit","https://tidelift.com/funding/github/pypi/pre-commit"],"total_stars":18774,"followers":308,"following":0,"created_at":"2022-11-02T16:22:39.632Z","updated_at":"2024-10-29T22:38:48.626Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pre-commit/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-03-14T16:23:12.521Z","dependent_packages_count":0,"downloads":251087,"downloads_period":"total","dependent_repos_count":7,"rankings":{"downloads":null,"dependent_repos_count":12.939767453465741,"dependent_packages_count":51.604371475622536,"stargazers_count":5.7587703977244376,"forks_count":6.7119117720445125,"docker_downloads_count":null,"average":19.253705274714306},"purl":"pkg:conda/pre-commit-hooks?repository_url=https://conda-forge.org","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/conda/pre-commit-hooks","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/conda/pre-commit-hooks","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/conda/pre-commit-hooks/dependencies","status":null,"funding_links":["https://github.com/sponsors/asottile","https://opencollective.com/pre-commit","https://tidelift.com/funding/github/pypi/pre-commit"],"critical":null,"issue_metadata":{"last_synced_at":"2026-02-27T17:05:50.993Z","issues_count":223,"pull_requests_count":254,"avg_time_to_close_issue":3017918.3671497586,"avg_time_to_close_pull_request":2174242.2923728814,"issues_closed_count":207,"pull_requests_closed_count":236,"pull_request_authors_count":91,"issue_authors_count":202,"avg_comments_per_issue":2.632286995515695,"avg_comments_per_pull_request":0.8858267716535433,"merged_pull_requests_count":126,"bot_issues_count":1,"bot_pull_requests_count":93,"past_year_issues_count":33,"past_year_pull_requests_count":56,"past_year_avg_time_to_close_issue":26985.645161290322,"past_year_avg_time_to_close_pull_request":62548.97777777778,"past_year_issues_closed_count":31,"past_year_pull_requests_closed_count":45,"past_year_pull_request_authors_count":27,"past_year_issue_authors_count":28,"past_year_avg_comments_per_issue":1.2727272727272727,"past_year_avg_comments_per_pull_request":0.8392857142857143,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":14,"past_year_merged_pull_requests_count":12,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/pre-commit%2Fpre-commit-hooks/issues","maintainers":[{"login":"asottile","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/asottile"},{"login":"mxr","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mxr"}],"active_maintainers":[{"login":"asottile","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/asottile"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/pre-commit-hooks/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/pre-commit-hooks/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/pre-commit-hooks/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/pre-commit-hooks/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/pre-commit-hooks/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/pre-commit-hooks/codemeta","maintainers":[]}