{"id":21310052,"url":"https://github.com/bahattincinic/python-git-hook","last_synced_at":"2025-07-11T23:31:14.053Z","repository":{"id":18469709,"uuid":"21664629","full_name":"bahattincinic/python-git-hook","owner":"bahattincinic","description":"Python pre-commit hook","archived":false,"fork":false,"pushed_at":"2016-10-14T12:37:28.000Z","size":5,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-27T16:49:01.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahattincinic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-09T18:53:55.000Z","updated_at":"2021-12-17T16:17:16.000Z","dependencies_parsed_at":"2022-07-26T22:46:58.402Z","dependency_job_id":null,"html_url":"https://github.com/bahattincinic/python-git-hook","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahattincinic%2Fpython-git-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahattincinic%2Fpython-git-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahattincinic%2Fpython-git-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahattincinic%2Fpython-git-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahattincinic","download_url":"https://codeload.github.com/bahattincinic/python-git-hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225769370,"owners_count":17521258,"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":[],"created_at":"2024-11-21T17:12:07.232Z","updated_at":"2024-11-21T17:12:07.895Z","avatar_url":"https://github.com/bahattincinic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Git Commit Hook\n====================\nPre-commit hook for Git checking Python and Javascript code quality\n\nUsage\n------\nThe commit hook will automatically be called when you are running `git commit`.\n\n\nScreenshots\n------\n\n![alt text](https://cloud.githubusercontent.com/assets/1684999/3529919/f39c73d4-079e-11e4-85d8-f1a379cc2cc8.png)\n![alt text](https://cloud.githubusercontent.com/assets/1684999/3529923/00b296d4-079f-11e4-9d43-d463511792ca.png)\n\n\nChecklist\n------\n1. pep8\n2. pyflakes\n3. ipdb\n4. print\n5. console.log\n6. debugger\n7. JShint\n\n\nRequirements\n-------------\n1. pep8 (`pip install pep8`)\n2. pyflakes (`pip install pyflakes`)\n3. jshint (`npm install -g jshint`)\n\n\nInstallation:\n-------------\n1. Save pre-commit as your_project/.git/hooks/pre-commit\n2. Mark pre-commit executable: ```$ chmod +x your_project/.git/hooks/pre-commit```\n\n\nOverride\n------\nThe hook can be overridden: ```$ git commit --no-verify```\n\n\nThis code was forked from [https://gist.github.com/spulec/1364640](https://gist.github.com/spulec/1364640).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahattincinic%2Fpython-git-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahattincinic%2Fpython-git-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahattincinic%2Fpython-git-hook/lists"}