{"id":15494055,"url":"https://github.com/thomasthiebaud/poetry-githooks","last_synced_at":"2025-10-24T03:26:04.420Z","repository":{"id":57453878,"uuid":"259395343","full_name":"thomasthiebaud/poetry-githooks","owner":"thomasthiebaud","description":"Simple git hooks with poetry","archived":false,"fork":false,"pushed_at":"2024-01-21T20:11:44.000Z","size":72,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T12:25:40.703Z","etag":null,"topics":["git","githooks","poetry","python","python-3"],"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/thomasthiebaud.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":"2020-04-27T16:53:52.000Z","updated_at":"2024-01-30T09:15:07.000Z","dependencies_parsed_at":"2024-10-02T08:21:15.942Z","dependency_job_id":null,"html_url":"https://github.com/thomasthiebaud/poetry-githooks","commit_stats":{"total_commits":30,"total_committers":3,"mean_commits":10.0,"dds":0.09999999999999998,"last_synced_commit":"818685ebe3686a914c26050f83e1fd9920beefdd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fpoetry-githooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fpoetry-githooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fpoetry-githooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fpoetry-githooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasthiebaud","download_url":"https://codeload.github.com/thomasthiebaud/poetry-githooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250316256,"owners_count":21410508,"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":["git","githooks","poetry","python","python-3"],"created_at":"2024-10-02T08:10:55.606Z","updated_at":"2025-10-24T03:26:04.365Z","avatar_url":"https://github.com/thomasthiebaud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poetry-githooks\n\n## Install\n\nThis repository is made to work with [poetry](https://python-poetry.org/). Assuming you have a working `poetry` setup, run\n\n```\npoetry add -D poetry-githooks\n```\n\n## Install\n\nCreate a `tool.githooks` section in your `pyproject.toml` file and define your git hooks, for example\n\n```\n[tool.githooks]\npre-commit = \"black .\"\n```\n\nthen run\n\n```\npoetry run githooks setup\n```\n\nThat's it :tada: your hooks will be ran using `poetry` when expected\n\n**IMPORTANT** You need to rerun `poetry run githooks setup` everytime you change `[tool.githooks]`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthiebaud%2Fpoetry-githooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasthiebaud%2Fpoetry-githooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthiebaud%2Fpoetry-githooks/lists"}