aparajita / capp_lint Goto Github PK
View Code? Open in Web Editor NEWHooks for git
Hooks for git
** Steps **
** Expected **
The pre-commit script to use capp_lint in the .git/hooks directory
** Actual **
The script is not found, in stead throwing error:
.git/hooks/pre-commit: line 76: capp_lint.py: command not found
** Information **
If I echo pwd it says the working directory is where I'm committing from. Pre-commit will search in this directory for capp_lint and not find it.
I solved it in my specific case, but we might need something like find script in the textmate bundle to solve it properly.
My solution, which only works when capp_lint is in the same directory as pre-commit is here: 0baaa40
Details of some false positives here: http://gist.github.com/592051
I can't for the life of me figure out what the issue is here, but I think it comes from somewhere around line 300 of capp_lint.py
Getting "line contains non-ASCII characters" on many lines that I don't think is incorrect cappuccino syntax. I am linting files that I am working off of a SMB mounted drive.
An example of a line:
imageView = [[CPImageView alloc] initWithFrame:frame];
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.