contrib/check-code.py
changeset 10290 7cc60de189d7
parent 10287 5da892be3497
child 10291 61c93743fae0
equal deleted inserted replaced
10289:987df17f85bb 10290:7cc60de189d7
     1 #!/usr/bin/env python
     1 #!/usr/bin/env python
     2 #
     2 #
     3 # check-code - a style and portability checker for Mercurial
     3 # check-code - a style and portability checker for Mercurial
     4 #
     4 #
     5 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
     5 # Copyright 2010 Matt Mackall <mpm@selenic.com>
     6 #
     6 #
     7 # This software may be used and distributed according to the terms of the
     7 # This software may be used and distributed according to the terms of the
     8 # GNU General Public License version 2 or any later version.
     8 # GNU General Public License version 2 or any later version.
     9 
     9 
    10 import sys, re, glob
    10 import sys, re, glob