Giter Site home page Giter Site logo

capp_lint's People

Contributors

aljungberg avatar aparajita avatar klaaspieter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

capp_lint's Issues

pre-commit script does not always find capp_lint

** Steps **

  1. Make sure capp_lint.py and pre-commit are in .git/hooks and capp_lint is not on $PATH
  2. Commit several files

** 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

Seemingly incorrect results

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];

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.