Skip to content

Commit 5919530

Browse files
committed
Fix Reporter class imports
1 parent 0ff1e35 commit 5919530

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

bin/repo_check.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
import re
1010
from argparse import ArgumentParser
1111

12-
from util import Reporter, require
12+
from util import require
13+
from reporter import Reporter
1314

1415
# Import this way to produce a more useful error message.
1516
try:

bin/test_lesson_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import unittest
22

33
import lesson_check
4-
import util
4+
import reporter
55

66

77
class TestFileList(unittest.TestCase):
88
def setUp(self):
9-
self.reporter = util.Reporter() # TODO: refactor reporter class.
9+
self.reporter = reporter.Reporter() # TODO: refactor reporter class.
1010

1111
def test_file_list_has_expected_entries(self):
1212
# For first pass, simply assume that all required files are present

bin/workshop_check.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
import os
88
import re
99
from datetime import date
10-
from util import Reporter, split_metadata, load_yaml, check_unwanted_files
10+
from util import split_metadata, load_yaml, check_unwanted_files
11+
from reporter import Reporter
1112

1213
# Metadata field patterns.
1314
EMAIL_PATTERN = r'[^@]+@[^@]+\.[^@]+'

0 commit comments

Comments
 (0)