{"id":16921573,"url":"https://github.com/sbrunner/hooks","last_synced_at":"2026-04-13T11:01:17.901Z","repository":{"id":65208788,"uuid":"587030690","full_name":"sbrunner/hooks","owner":"sbrunner","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-01T05:37:48.000Z","size":831,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-01T05:44:39.509Z","etag":null,"topics":["pre-commit","pre-commit-hook"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbrunner.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-09T19:54:22.000Z","updated_at":"2026-04-01T03:26:18.000Z","dependencies_parsed_at":"2026-01-01T19:05:30.845Z","dependency_job_id":"6f08e0b2-b2e2-4fef-92c1-f566b36324a1","html_url":"https://github.com/sbrunner/hooks","commit_stats":{"total_commits":62,"total_committers":2,"mean_commits":31.0,"dds":"0.22580645161290325","last_synced_commit":"2e5b766ef3b113ae23a3b24f7ba13a334fcea268"},"previous_names":["sbrunner/pre-commit-hooks","sbrunner/pre-commit-copyright"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/sbrunner/hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbrunner%2Fhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbrunner%2Fhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbrunner%2Fhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbrunner%2Fhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbrunner","download_url":"https://codeload.github.com/sbrunner/hooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbrunner%2Fhooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"}},"keywords":["pre-commit","pre-commit-hook"],"created_at":"2024-10-13T19:52:25.030Z","updated_at":"2026-04-13T11:01:17.856Z","avatar_url":"https://github.com/sbrunner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pre commit hooks\n\n[pre-commit](https://pre-commit.com/) hook used to...\n\nCheck if the copyright is up to date (using the Git history).\n\n## Adding to your `.pre-commit-config.yaml`\n\n```yaml\nci:\n  skip:\n    # Skip the copyright check on pre-commit.ci because we don't have the Git history\n    - copyright\n    - copyright-required\n    # Poetry didn't works with Python 3.11\n    - poetry-lock\n    - poetry-check\n\nrepos:\n  - repo: https://github.com/sbrunner/hooks\n    rev: \u003cversion\u003e # Use the ref you want to point at\n    hooks:\n      # Check that the copyright is up to date\n      - id: copyright\n      # Check that the copyright is present and up to date\n      - id: copyright-required\n      # Require a timeout in GitHub workflow files\n      - id: workflows-require-timeout\n      # Check Poetry config\n      - id: poetry-check\n        additional_dependencies:\n          - poetry==\u003cversion\u003e\n      # Do Poetry lock\n      - id: poetry-lock\n        additional_dependencies:\n          - poetry==\u003cversion\u003e\n      # Do Pipfile lock\n      - id: pipenv-lock\n        additional_dependencies:\n          - pipenv==\u003cversion\u003e\n      # Do Helm lock (helm should be installed)\n      - id: helm-lock\n      - id: npm-lock\n```\n\n## Copyright configuration\n\nThe default values used in the `.github/copyright.yaml` file.\n\nDefault values:\n\n```yaml\none_date_re: ' Copyright \\\\(c\\\\) (?P\u003cyear\u003e[0-9]{4})\"))'\ntwo_date_re: ' Copyright \\\\(c\\\\) (?P\u003cfrom\u003e[0-9]{4})-(?P\u003cto\u003e[0-9]{4})\")'\none_date_format: ' Copyright (c) {year}\")'\ntwo_date_format: ' Copyright (c) {from}-{to}\")'\nlicense_file: LICENSE\n\none_date_re: ' Copyright \\(c\\) (?P\u003cyear\u003e[0-9]{4})'\ntwo_date_re: ' Copyright \\(c\\) (?P\u003cfrom\u003e[0-9]{4})-(?P\u003cto\u003e[0-9]{4})'\none_date_format: ' Copyright (c) {year}'\ntwo_date_format: ' Copyright (c) {from}-{to}'\nlicense_file: LICENSE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbrunner%2Fhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbrunner%2Fhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbrunner%2Fhooks/lists"}