{"id":16225634,"url":"https://github.com/lasuillard/pre-commit-hooks","last_synced_at":"2026-01-06T05:12:15.864Z","repository":{"id":207571148,"uuid":"705114176","full_name":"lasuillard/pre-commit-hooks","owner":"lasuillard","description":"Personal pre-commit hooks to handle grunt tasks.","archived":false,"fork":false,"pushed_at":"2025-04-02T11:39:04.000Z","size":230,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T12:29:59.024Z","etag":null,"topics":["pre-commit-hooks","python"],"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/lasuillard.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":"2023-10-15T04:05:55.000Z","updated_at":"2025-04-02T11:39:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"34be90f8-fde2-4636-bd6a-e00decf94153","html_url":"https://github.com/lasuillard/pre-commit-hooks","commit_stats":{"total_commits":68,"total_committers":2,"mean_commits":34.0,"dds":"0.23529411764705888","last_synced_commit":"753b95df13fab2a6d1ee4fdb4fc846049962279b"},"previous_names":["lasuillard/pre-commit-hooks"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasuillard%2Fpre-commit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasuillard%2Fpre-commit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasuillard%2Fpre-commit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasuillard%2Fpre-commit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasuillard","download_url":"https://codeload.github.com/lasuillard/pre-commit-hooks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248271546,"owners_count":21075800,"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-hooks","python"],"created_at":"2024-10-10T12:45:45.699Z","updated_at":"2026-01-06T05:12:15.816Z","avatar_url":"https://github.com/lasuillard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-hooks\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![CI](https://github.com/lasuillard/pre-commit-hooks/actions/workflows/ci.yaml/badge.svg)](https://github.com/lasuillard/pre-commit-hooks/actions/workflows/ci.yaml)\n[![codecov](https://codecov.io/gh/lasuillard/pre-commit-hooks/graph/badge.svg?token=I646XXfAud)](https://codecov.io/gh/lasuillard/pre-commit-hooks)\n![GitHub Release](https://img.shields.io/github/v/release/lasuillard/pre-commit-hooks)\n\nPersonal pre-commit hooks to handle grunt tasks.\n\n## 🪝 Available hooks\n\nSee [.pre-commit-hooks-.yaml](./.pre-commit-hooks.yaml) file for available hooks.\n\n### check-file-pair\n\nCheck file in source directory have its pair in target directory.\n\n### source-matching-test\n\nCheck Python source (`src/`) file has matching test file in (`tests/`) directory.\n\n### test-matching-source\n\nCheck Python test (`tests/`) file has matching source file in (`src/`) directory.\n\n### preferred-suffix\n\nCheck file has preferred suffix if there are multiple available suffixes.\n\n### alloy-format\n\n\u003e [!IMPORTANT]\n\u003e This hook is just a convenience shortcut to invoke [Alloy](https://github.com/grafana/alloy) CLI. It does **NOT** install `alloy`.\n\nReformat `.alloy` files using `alloy fmt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasuillard%2Fpre-commit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasuillard%2Fpre-commit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasuillard%2Fpre-commit-hooks/lists"}