[ET Trac] [Einstein Toolkit] #123: Run a syntax checker in a pre-commit hook

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Mar 8 10:00:23 CST 2011


#123: Run a syntax checker in a pre-commit hook
--------------------------+-------------------------------------------------
  Reporter:  eschnett     |       Owner:  mthomas
      Type:  enhancement  |      Status:  review 
  Priority:  major        |   Milestone:         
 Component:  SimFactory   |     Version:         
Resolution:               |    Keywords:         
--------------------------+-------------------------------------------------

Comment (by eschnett):

 On my system, pylint is called "pylint-2.4".

 What do pychecker and pylint do? Do they only output warnings, or abort
 the code?

 In my experience, aborting on errors and on some warnings is the best
 thing to do. This may seem inconvenient at first, but very quickly one
 obtains a much more solid code base.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/123#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list