reinhrst / hooks Goto Github PK
View Code? Open in Web Editor NEWMy git hooks
License: MIT License
My git hooks
License: MIT License
#reinoud@Gopher ~/work/hooks 08:43:05 > git s
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: .gitmodules
new file: cowramfs
typechange: pre-commit
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: checks/base.py
modified: cowramfs (new commits)
Untracked files:
(use "git add <file>..." to include in what will be committed)
checks/pep8.py
#reinoud@Gopher ~/work/hooks 08:43:09 > git commit -m "cowramfs"
Traceback (most recent call last):
File ".git/hooks/pre-commit", line 23, in <module>
main()
File ".git/hooks/pre-commit", line 15, in main
errors = checks.check(CHECKS)
File "/Users/reinoud/work/hooks/.git/hooks/checks/base.py", line 135, in check
changedFile = ChangedFile.createForStagedFile(filename)
File "/Users/reinoud/work/hooks/.git/hooks/checks/base.py", line 30, in createForStagedFile
filestatus = status.determineStatus(diff[0].split()[4])
File "/Users/reinoud/work/hooks/.git/hooks/checks/status.py", line 11, in determineStatus
}[statusflag]
KeyError: 'T'
#reinoud@Gopher ~/work/hooks 08:43:27 > git commit -n -m "cowramfs"
#reinoud@Gopher ~/work/hooks 08:43:36 > git s --porcelain
A .gitmodules
M checks/base.py
AM cowramfs
T pre-commit
?? checks/pep8.py
In your readme.md, under the installation section, do you mean ".git-templates" or ".git-template"?
No real issue here, was mistake
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.