{"id":21054822,"url":"https://github.com/danielhoherd/pre-commit-hooks","last_synced_at":"2025-07-21T12:37:41.172Z","repository":{"id":47667335,"uuid":"176816167","full_name":"danielhoherd/pre-commit-hooks","owner":"danielhoherd","description":"A collection of pre-commit hooks I use in most of my repositories.","archived":false,"fork":false,"pushed_at":"2025-04-28T13:56:17.000Z","size":19,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T08:12:14.002Z","etag":null,"topics":["pre-commit"],"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/danielhoherd.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}},"created_at":"2019-03-20T20:59:58.000Z","updated_at":"2025-04-28T13:56:20.000Z","dependencies_parsed_at":"2024-03-27T17:28:52.866Z","dependency_job_id":"b6729f6b-4c4c-4efb-a692-0f39648f8860","html_url":"https://github.com/danielhoherd/pre-commit-hooks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhoherd%2Fpre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhoherd%2Fpre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhoherd%2Fpre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhoherd%2Fpre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielhoherd","download_url":"https://codeload.github.com/danielhoherd/pre-commit-hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251666337,"owners_count":21624295,"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","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"],"created_at":"2024-11-19T16:17:54.937Z","updated_at":"2025-04-30T08:12:20.645Z","avatar_url":"https://github.com/danielhoherd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-hooks\n\nThis is a collection of hooks that I use quite broadly.\n\n# Install\n\n1. create .pre-commit-config.yaml in you git project with the following included:\n   ```yaml\n   ---\n   repos:\n     - repo: https://github.com/danielhoherd/pre-commit-hooks\n       rev: master\n       hooks:\n         - id: CVE-2017-18342\n         - id: remove-unicode-left-to-right-mark\n         - id: remove-unicode-zero-width-non-breaking-spaces\n         - id: remove-unicode-zero-width-space\n         - id: replace-en-dashes\n         - id: replace-greek-question-mark\n         - id: replace-unicode-non-breaking-spaces\n         - id: sort-ansible-requirements-yml\n   ```\n2. `pre-commit install`\n3. `pre-commit run --all-files`\n\n# Credits\n\n- Some hooks here were originally taken from \u003chttps://github.com/Lucas-C/pre-commit-hooks/\u003e (MIT License)\n\n# License\n\ndanielhoherd/pre-commit-hooks is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhoherd%2Fpre-commit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielhoherd%2Fpre-commit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhoherd%2Fpre-commit-hooks/lists"}