We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225007c commit bfcd15cCopy full SHA for bfcd15c
check_homework.py
@@ -2,6 +2,7 @@
2
"""Script to check this homework."""
3
import argparse
4
import logging
5
+from pathlib import Path
6
7
from homework_checker.checker import Checker
8
from homework_checker.md_writer import MdWriter
@@ -33,7 +34,7 @@ def main():
33
34
log.debug("Enable DEBUG logging.")
35
# Read the job file.
36
log.debug('Reading from file "%s"', args.input)
- checker = Checker(args.input)
37
+ checker = Checker(Path(args.input))
38
results = checker.check_all_homeworks()
39
md_writer = MdWriter()
40
md_writer.update(results)
0 commit comments