Skip to content

Commit a7c2d79

Browse files
aliniknejadjhamrick
authored andcommitted
Further Python 3 type annotations
1 parent d01dc42 commit a7c2d79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

nbgrader/nbgraderformat/v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class MetadataValidatorV1(BaseMetadataValidator):
88
schema_version = 1
99

1010
def __init__(self) -> None:
11-
super(MetadataValidatorV1, self).__init__()
11+
super().__init__()
1212

1313
def _upgrade_v0_to_v1(self, cell):
1414
meta = cell.metadata['nbgrader']

nbgrader/nbgraderformat/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class MetadataValidatorV2(BaseMetadataValidator):
99
schema_version = 2
1010

1111
def __init__(self) -> None:
12-
super(MetadataValidatorV2, self).__init__()
12+
super().__init__()
1313
self.v1 = MetadataValidatorV1()
1414

1515
def _upgrade_v1_to_v2(self, cell):

nbgrader/nbgraderformat/v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MetadataValidatorV3(BaseMetadataValidator):
1111
schema_version = 3
1212

1313
def __init__(self) -> None:
14-
super(MetadataValidatorV3, self).__init__()
14+
super().__init__()
1515
self.v1 = MetadataValidatorV1()
1616
self.v2 = MetadataValidatorV2()
1717

0 commit comments

Comments
 (0)