Skip to content

Commit 2347fe2

Browse files
committed
style: minor linting issues
1 parent 13257a0 commit 2347fe2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/xblock_annotatable/tests/test_annotatable.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
from xblock_annotatable.annotatable import AnnotatableBlock
1212

1313

14-
class AnnotatableBlockTestCase(unittest.TestCase): # pylint: disable=protected-access
14+
class AnnotatableBlockTestCase(unittest.TestCase):
1515
"""Tests for AnnotatableBlock."""
1616

17+
# pylint: disable=protected-access
18+
1719
sample_xml = """
1820
<annotatable display_name="Iliad">
1921
<instructions>Read the text.</instructions>

src/xblock_html/tests/test_html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, services, anonymous_student_id="test-user-id"):
7070
super().__init__(services=services)
7171
self.anonymous_student_id = anonymous_student_id
7272

73-
def render(self, block, view_name, context): # pylint: disable=unused-argument
73+
def render(self, block, view_name, context): # pylint: disable=signature-differs
7474
return Mock(content=block.get_html())
7575

7676
services = {

0 commit comments

Comments
 (0)