Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Git hooks that I am using.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.rst
pre-commit

README.rst

Szunyog's git-hooks collection

Introduction

These are the git hooks that I am using. The hooks are mostly to help python programming and code checking.

Hooks

pre-commit

  • pylint: checks python codes
  • xmllint: checks xml files

Requirements

The following packages are required to use these hooks.

  • python
  • pylint: python code static checker
  • libxml2-utils

Usage

Copy or create a symlink to the $REPO/.git/hooks/ directory and give execute permissions to the scripts.

Remarks

After you have installed the hooks you can use the --no-verify flag and the script will not be run.

Something went wrong with that request. Please try again.