Add support for configuring terms and conditions in device commissioning #656
GitHub Actions / Black
failed
Dec 17, 2024 in 0s
3 errors
Black found 3 errors
Annotations
github-actions / Black
/home/runner/work/certification-tool-backend/certification-tool-backend/app/user_prompt_support/uploaded_file_support.py#L28-L39
file: BinaryIO
filename: Optional[str]
@property
- def content_type(self) -> Optional[str]: ...
+ def content_type(self) -> Optional[str]:
+ ...
@runtime_checkable
class UploadedFileSupport(Protocol):
"""Support class required for subclasses that request a file upload from user."""
github-actions / Black
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/python_testing/__init__.py#L32-L40
sdk_python_collection: TestCollectionDeclaration = sdk_python_test_collection()
sdk_mandatory_python_collection: TestCollectionDeclaration = (
sdk_mandatory_python_test_collection()
)
- custom_python_collection: Optional[TestCollectionDeclaration] = (
- custom_python_test_collection()
- )
+ custom_python_collection: Optional[
+ TestCollectionDeclaration
+ ] = custom_python_test_collection()
github-actions / Black
/home/runner/work/certification-tool-backend/certification-tool-backend/test_collections/matter/sdk_tests/support/performance_tests/utils.py#L250-L266
)
summary_dict["test_summary_record"]["total_number_of_iterations"] = len(durations)
summary_dict["test_summary_record"]["number_of_iterations_completed"] = len(
durations
)
- summary_dict["test_summary_record"]["number_of_iterations_passed"] = (
- compute_count_state(execution_status, True)
- )
- summary_dict["test_summary_record"]["number_of_iterations_failed"] = (
- compute_count_state(execution_status, False)
- )
+ summary_dict["test_summary_record"][
+ "number_of_iterations_passed"
+ ] = compute_count_state(execution_status, True)
+ summary_dict["test_summary_record"][
+ "number_of_iterations_failed"
+ ] = compute_count_state(execution_status, False)
summary_dict["test_summary_record"]["platform"] = "rpi"
summary_dict["test_summary_record"]["commissioning_method"] = commissioning_method
summary_dict["test_summary_record"]["list_of_iterations_failed"] = []
summary_dict["test_summary_record"]["analytics_parameters"] = [
"durations",
Loading