mirror of
https://github.com/JonasunderscoreJones/epr_grader.git
synced 2025-10-24 08:59:17 +02:00
fix for ignoring submittet py venv
This commit is contained in:
parent
7333378967
commit
7162f36c18
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ def lint_files(folders, author_pairs, deduction: bool):
|
|||
count += 1
|
||||
print(f" ({str(count).rjust(len(str(total)))}/{total}) Checking {folder.name}")
|
||||
pythons = list(map(pathlib.Path.resolve,
|
||||
filter(lambda p: "__MACOSX" not in p.parts, folder.glob('**/*.py'))))
|
||||
filter(lambda p: "__MACOSX" not in p.parts and ".venv" not in p.parts,
|
||||
folder.glob('**/*.py'))))
|
||||
if not pythons:
|
||||
continue
|
||||
pycount = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue