openbsd-ports/devel/pylint/patches/patch-config_py
alek b2f2c906f2 Import 0.13.1
Pylint is a lint-like tool for Python code. It performs almost all the
verifications that pychecker does, and additionally can perform some
stylistic verification and coding standard enforcements. The checked
code is assigned a mark based on the number and the severity of the
encountered problems. The previous mark of a given piece of code is
cached so that you can see if the code quality has improved since the
last check.

From Andreas Bihlmaier <andreas.bihlmaier@gmx.de>                           
									
With help and one okey from bernd@ and steven@
2007-05-04 17:43:27 +00:00

17 lines
535 B
Plaintext

$OpenBSD: patch-config_py,v 1.1.1.1 2007/05/04 17:43:27 alek Exp $
--- config.py.orig Thu Feb 22 11:30:06 2007
+++ config.py Mon Apr 9 13:34:51 2007
@@ -25,10 +25,11 @@ from os.path import exists, isfile, join, expanduser,
# pylint home is used to save old runs results ################################
+USER_HOME = expanduser('~')
+
if os.environ.has_key('PYLINTHOME'):
PYLINT_HOME = os.environ['PYLINTHOME']
else:
- USER_HOME = expanduser('~')
if USER_HOME == '~':
PYLINT_HOME = ".pylint.d"
else: