Skip to content

Commit 5465cd0

Browse files
authored
Merge pull request #8028 from opsmill/pog-testcontainers-argument-type
Use correct argument type
2 parents 4d7097c + 4797a80 commit 5465cd0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,6 @@ include = ["python_testcontainers/**"]
994994
# The ignored rules below should be removed once the code has been updated, they are included #
995995
# like this so that we can reactivate them one by one. #
996996
##################################################################################################
997-
invalid-argument-type = "ignore"
998997
possibly-missing-attribute = "ignore"
999998
too-many-positional-arguments = "ignore"
1000999
unresolved-attribute = "ignore"

python_testcontainers/infrahub_testcontainers/performance_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def add_measurement(
8686
self,
8787
definition: MeasurementDefinition,
8888
value: float | str,
89-
**kwargs: str | float,
89+
**kwargs: dict[str, float],
9090
) -> None:
9191
self.measurements.append(
9292
InfrahubMeasurementItem(

0 commit comments

Comments
 (0)