Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.161.397 Times

hghooks 0.5.1

Company: Lorenzo Gil Sanchez
Date Added: October 03, 2013  |  Visits: 338

hghooks

Report Broken Link
Printer Friendly Version


Product Homepage
Download (38 downloads)



hghooks is a simple Python module that adds several useful hooks for use in Mercurial hooks system.<br /><br />Right now it includes hooks for:<br /><br /> * pep8 checking of python files<br /> * pyflakes checking of python files<br /> * checking for forgotten pdb statements in python files<br /><br />Documentation<br /><br />Installation<br /><br />hghooks is distributed as a Python egg so is quite easy to install. You just need to type the following command:<br /><br />easy_install hghooks<br /><br />And Easy Install will go to the Cheeseshop and grab the last hghooks for you. It will also install it for you at no extra cost.<br /><br />Usage<br /><br />To use one of the hooks provided by this package edit your hgrc file of your Mercurial repository and add these lines:<br /><br />[hooks]<br />pretxncommit.pep8 = python:hghooks.pep8hook.pretxncommit<br />pretxncommit.pyflakes = python:hghooks.pyflakeshook.pretxncommit<br />pretxncommit.pdb = python:hghooks.pdbhook.pretxncommit<br /><br />You can add only the hooks that you need.<br /><br />How to skip the hooks<br /><br />If you need to avoid a hook for a specific changeset you can add one or more of the following keywords to the commit message: no-pep8, no-pyflakes and no-pdb.<br /><br />On the other hand, if you want to avoid a hook in a specific file you can add a comment somewhere in the file saying so. For example:<br /><br /># hghooks: no-pyflakes no-pdb<br /><br />in this case the pyflakes and pdb hooks will skip this file. The "# hghooks:" prolog is important and you have to type it exactly like that. Then add the skip keyworkds separated by spaces.<br /><br /><br />#md5=980271d73c2ccc9ccc25631398ac421e

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Avoid Changeset Checking Commit Files Hghooks Hooks Hooksif Install Keywords Mercurial Message Nopdbon Nopep Nopyflakes Pyflakes Python Specific
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


HGHOOKS RELATED
File Cataloguers  -  Smart File Advisor 1.1.1
Smart File Advisor will help you find appropriate programs to open your files using Filefacts.net web site database. If you are having problems to open some specific files in your system install Smart File Advisor and it will help you. Smart File...
571 KB  
Miscellaneous  -  Regular expression for python string literals 1.0
For quick-and-dirty processing of Python source files, it can be convenient to have a regular expression that matches Python string literals. This script provides such a regular expression. The example use case above shows how it could be used...
 
Utilities  -  XML Parse Library 0.50
XML-Parse library is a lightweight set of re-usable functions for general purpose parsing, checking, and creating xml files. It can support stream-oriented, SAX or DOM parsing styles, and includes an optional xsd schema validator and graphical...
11.26 KB  
Utilities  -  IANA /etc Files 2.20
IANA /etc Files installs /etc/services and /etc/protocols using data from the Internet Assigned Numbers Authority. Included are snapshots of the data from the IANA, scripts to transform that data into the needed formats, and scripts to fetch the...
163.84 KB  
E-Mail Tools  -  View PST files Tool 1.0
View PST files Tool is a state-of-the-art file repair and external tool for viewing pst files without Outlook. You do not need Microsoft Outlook installed on yru machine in order to read email files and the data they contain. You may need to do...
1.87 MB  
Backup Utilities  -  HBackup 1.3.0
Backs up Linux and Windows computers (via NFS, CIFS, SSHFS and local access) onto a central server. Provides filtration and source code parsing tools (CVS and SVN) to avoid backing up unnecessary files. Also supports compression.
768 KB  
Text Editors  -  Gedit Developer Plugins 0.4.4
Gedit Developer Plugins provides additional editing, checking, and project management features to Gedit This project provides plugins for word and python symbol completion, text formatting, syntax and style checking, find and replace in...
256 KB  
Command Line Mail Tools  -  Save Attachments from EML Files 4.7
This free utility will save attachments from all EML files in a specific message date range from the selected folder on your disk or network share to the specified location. You can automatically process all subfolders and create the same folder...
312.02 KB  
Server Tools  -  GFI LANguard System Integrity Monitor 1
GFI LANguard System Integrity Monitor (S.I.M.) is a utility that provides intrusion detection by checking whether files have been changed, added or deleted on a Windows 2000/XP system. If this happens, it alerts the administrator by email. Because...
6 MB  
Download Managers  -  Binjet 3.02
Binjet helps you locate and easily download millions of pictures, music, video, games, software and other files posted to the Usenet. Use Binjet cross-group search engine to choose files, then Binjet will get them for you from one or more Usenet...
872.46 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB