Skip to content

Commit 25a6e26

Browse files
committed
Linting
1 parent 6c34b73 commit 25a6e26

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

tests/test_doctools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def partially_documented_function(a: float, b: float, c: float, d: float) -> Non
154154
This function works like ``documented_function`` except it returns the result telepathically.
155155
"""
156156

157-
d * c * b * a
157+
d * c * b * a # pylint: disable=expression-not-assigned
158158

159159

160160
class DummyClass:

tests/test_typing.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@
2828
("abc", List[str]),
2929
(1234, Sequence[int]),
3030
(12.34, Set[float]),
31-
(1234, Tuple[int, float, str]), # todo: Position
32-
(12.34, Tuple[int, float, str]), # todo: Position
33-
("abc", Tuple[int, float, str]), # todo: Position
34-
(1234, Dict[int, float]), # todo: Position
35-
(12.34, Dict[int, float]), # todo: Position
31+
(1234, Tuple[int, float, str]),
32+
(12.34, Tuple[int, float, str]),
33+
("abc", Tuple[int, float, str]),
34+
(1234, Dict[int, float]),
35+
(12.34, Dict[int, float]),
3636
]
3737
)
3838
def test_check_membership_true(obj, type_):
39+
# todo: Positions for Tuple and Dict
3940
assert check_membership(obj, type_)
4041

4142

0 commit comments

Comments
 (0)