{"id":17457825,"url":"https://github.com/iconmaster5326/cmake-format-pre-commit-hook","last_synced_at":"2026-03-07T06:02:30.088Z","repository":{"id":72129898,"uuid":"211327585","full_name":"iconmaster5326/cmake-format-pre-commit-hook","owner":"iconmaster5326","description":"A pre-commit hook for cmake-format.","archived":false,"fork":false,"pushed_at":"2024-12-19T18:31:46.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T16:52:59.707Z","etag":null,"topics":["cmake","formatter","pre-commit","pre-commit-hook"],"latest_commit_sha":null,"homepage":null,"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/iconmaster5326.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}},"created_at":"2019-09-27T13:38:44.000Z","updated_at":"2024-12-19T18:30:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c0c8f0a-e5c6-4068-8571-d53999a3d11a","html_url":"https://github.com/iconmaster5326/cmake-format-pre-commit-hook","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/iconmaster5326/cmake-format-pre-commit-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iconmaster5326%2Fcmake-format-pre-commit-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iconmaster5326%2Fcmake-format-pre-commit-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iconmaster5326%2Fcmake-format-pre-commit-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iconmaster5326%2Fcmake-format-pre-commit-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iconmaster5326","download_url":"https://codeload.github.com/iconmaster5326/cmake-format-pre-commit-hook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iconmaster5326%2Fcmake-format-pre-commit-hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"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"}},"keywords":["cmake","formatter","pre-commit","pre-commit-hook"],"created_at":"2024-10-18T03:06:24.528Z","updated_at":"2026-03-07T06:02:30.057Z","avatar_url":"https://github.com/iconmaster5326.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmake-format-pre-commit-hook\nA [pre-commit](https://pypi.org/project/pre-commit/) hook for [cmake-format](https://pypi.org/project/cmake-format/).\n\n# Usage\n\nBy default, this hook runs on files beginning with `CMakeLists` and files ending with `.cmake` (all case sensitive).\nIt uses the default configurations, unless you have a `.cmake-format{.py,.yaml,.json}` file, as is usual with `cmake-format`.\nYou can also specift formatting optinos with `args:` in your `.pre-commit-config.yaml`.\n\n# Example\n\nHere's the most basic way to add a hook to `cmake-format` to your `.pre-commit-config.yaml`:\n\n```yaml\n- repo: https://github.com/iconmaster5326/cmake-format-pre-commit-hook\n  rev: master\n  hooks:\n    - id: cmake-format\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficonmaster5326%2Fcmake-format-pre-commit-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficonmaster5326%2Fcmake-format-pre-commit-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficonmaster5326%2Fcmake-format-pre-commit-hook/lists"}