Skip to content

Commit

Permalink
Ignore flake8 errors for gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Mar 31, 2022
1 parent fdddfe4 commit f2a24d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def add_record(self, record: Dict, record_type: str) -> None:
self.added_records[record["concept_id"]] = record

def update_record(self, concept_id: str, attribute: str,
new_value: Any):
new_value: Any): # noqa: ANN401
"""Store update request sent to database.
:param str concept_id: record to update
Expand Down
2 changes: 1 addition & 1 deletion therapy/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def add_ref_record(self, term: str, concept_id: str, ref_type: str) -> None:
f"{concept_id} with match type {ref_type}: "
f"{e.response['Error']['Message']}")

def update_record(self, concept_id: str, field: str, new_value: Any,
def update_record(self, concept_id: str, field: str, new_value: Any, # noqa: ANN401
item_type: str = "identity") -> None:
"""Update the field of an individual record to a new value.
Expand Down

0 comments on commit f2a24d4

Please sign in to comment.