Skip to content

yavinash/life-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

life-hack

Gist for pre-commit

Git hook to catch pyflakes and pep8 issues before committing. How it works? copy file to '/usr/share/git-core/templates/hooks/' then, it will automatically copy to .git/hooks whenever new repository is cloned. Before committing changes this file will get all staged python files and run pyflakes, pep8 on each file and exit commit process if there is any violation.

Note: To skip this hook use git commit -m "########" --no-verify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages