Browse Source

note about sys.argv hack

David Cramer 11 years ago
parent
commit
d9ee9f2faf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hooks/pre-commit

+ 1 - 0
hooks/pre-commit

@@ -4,6 +4,7 @@ import glob
 import os
 import sys
 
+# pep8.py uses sys.argv to find setup.cfg
 sys.argv = [os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)]
 
 # git usurbs your bin path for hooks and will always run system python