Skip to content

Commit

Permalink
Ignore line too long lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
liammulh committed Nov 4, 2024
1 parent 1e0a814 commit 80a88f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ga4gh/gks/metaschema/tools/source_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,10 @@ def process_schema_class(self, schema_class):
l = len(processed_class_def["ga4ghDigest"]["keys"]) # noqa: E741
assert (
l >= 2
), f"GA4GH identifiable objects are expected to be defined by at least 2 properties, {schema_class} has {l}."
), f"GA4GH identifiable objects are expected to be defined by at least 2 properties, {schema_class} has {l}." # noqa: E501
assert (
"type" in processed_class_def["ga4ghDigest"]["keys"]
), f"GA4GH identifiable objects are expected to include the class type but not included for {schema_class}."
), f"GA4GH identifiable objects are expected to include the class type but not included for {schema_class}." # noqa: E501
# Two properites should be `type` and at least one other field

processed_class_def[prop_k] = inherited_properties | processed_class_properties
Expand Down

0 comments on commit 80a88f3

Please sign in to comment.