#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.