Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gladystonfranca committed Oct 24, 2024
1 parent 3b057f4 commit 7e7668c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"""

from alembic import op
import sqlalchemy as sa
import sqlalchemy as sa # noqa: F401

from alembic import op # noqa: F401

# revision identifiers, used by Alembic.
revision = "804ecda3d5bf"
Expand Down
4 changes: 2 additions & 2 deletions alembic/versions/fe974049e7ad_merge_heads.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"""

from alembic import op
import sqlalchemy as sa
import sqlalchemy as sa # noqa: F401

from alembic import op # noqa: F401

# revision identifiers, used by Alembic.
revision = "fe974049e7ad"
Expand Down
3 changes: 2 additions & 1 deletion app/user_prompt_support/uploaded_file_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class UploadFile(Protocol):
filename: Optional[str]

@property
def content_type(self) -> Optional[str]: ...
def content_type(self) -> Optional[str]:
...


@runtime_checkable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async def show_prompt(
prompt=msg,
placeholder_text=placeholder,
default_value=default_value,
) # type: ignore
)

user_response = await self.send_prompt_request(prompt_request)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,12 @@ def generate_summary(
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"] = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
sdk_mandatory_python_test_collection()
)

custom_python_collection: Optional[TestCollectionDeclaration] = (
custom_python_test_collection()
)
custom_python_collection: Optional[
TestCollectionDeclaration
] = custom_python_test_collection()
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async def show_prompt(
prompt=msg,
placeholder_text=placeholder,
default_value=default_value,
) # type: ignore
)

user_response = await self.send_prompt_request(prompt_request)

Expand Down

0 comments on commit 7e7668c

Please sign in to comment.