run_checks: Ignore .venv

This commit is contained in:
Florian Bruhin 2014-12-05 23:40:33 +01:00
parent acb058dc2b
commit 67f5f3e818

View File

@ -134,7 +134,7 @@ def check_git():
gitst = gitst.decode('UTF-8').strip() gitst = gitst.decode('UTF-8').strip()
for line in gitst.splitlines(): for line in gitst.splitlines():
s, name = line.split(maxsplit=1) s, name = line.split(maxsplit=1)
if s == '??': if s == '??' and name != '.venv':
untracked.append(name) untracked.append(name)
elif s == 'M': elif s == 'M':
changed.append(name) changed.append(name)