Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Apr 18, 2024
1 parent 36b3b6f commit d3445c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/langsmith/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def _start_experiment(
# Track the number of times a parameter has been used in a test
# This is to ensure that we can uniquely identify each test case
# defined using pytest.mark.parametrize
_param_dict = defaultdict(lambda: defaultdict(int))
_param_dict: dict = defaultdict(lambda: defaultdict(int))


def _get_id(func: Callable, inputs: dict, suite_id: uuid.UUID) -> Tuple[uuid.UUID, str]:
Expand Down
2 changes: 1 addition & 1 deletion python/tests/unit_tests/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, a, b):

def test__get_id():
class Foo:
bar: str = "baz"
bar: str = "baz" # type: ignore

def __init__(self, a: int, b: int):
self.a = a
Expand Down

0 comments on commit d3445c4

Please sign in to comment.