Skip to content

Commit 7089fac

Browse files
committed
fix nitpick
1 parent 6f3f0a7 commit 7089fac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

onlinejudge_verify/languages/user_defined.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list_dependencies(self, path: pathlib.Path, *, basedir: pathlib.Path) -> Lis
6363
dependencies.append(pathlib.Path(line.decode()))
6464
return dependencies
6565

66-
def bundle(self, path: pathlib.Path, *, basedir: pathlib.Path, options: Dict[str, Any] = None) -> bytes:
66+
def bundle(self, path: pathlib.Path, *, basedir: pathlib.Path, options: Dict[str, Any]) -> bytes:
6767
assert 'bundle' in self.config
6868
command = self.config['bundle'].format(path=str(path), basedir=str(basedir))
6969
logger.info('$ %s', command)

tests/test_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,4 @@ def test_standard_headers(self) -> None:
210210
onlinejudge_bundle.main.main(args=args)
211211

212212
# compile
213-
subprocess.check_call(['g++', str(tempdir_dst / 'main.bundled.cpp')], stderr=sys.stderr)
213+
subprocess.check_call(['g++', str(tempdir_dst / 'main.bundled.cpp')], stderr=sys.stderr)

0 commit comments

Comments
 (0)