Skip to content

Commit

Permalink
fix(style): pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Oct 10, 2022
1 parent 12f4ec2 commit aff792d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/e2e/bento_server_grpc/tests/test_descriptors.py
@@ -1,3 +1,4 @@
# pylint: disable=assignment-from-no-return,used-before-assignment
from __future__ import annotations

import io
Expand Down Expand Up @@ -43,7 +44,8 @@ def assert_ndarray(
assert_shape: list[int],
assert_dtype: pb.NDArray.DType.ValueType,
) -> bool:
__tracebackhide__ = True # Hide traceback for py.test
# Hide traceback from pytest
__tracebackhide__ = True # pylint: disable=unused-variable

dtype = resp.ndarray.dtype
try:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/grpc/interceptors/test_access.py
@@ -1,4 +1,4 @@
# pylint: disabl=unused-argument
# pylint: disable=unused-argument,used-before-assignment,assignment-from-no-return
from __future__ import annotations

import typing as t
Expand Down

0 comments on commit aff792d

Please sign in to comment.