Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
Pass flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jan 17, 2019
1 parent 9e396a1 commit cf5a1ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/biokeen/convert/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ class SimpleTypedPredicate(Converter):
def predicate(cls, u: BaseEntity, v: BaseEntity, key: str, edge_data: Dict):
"""Test a BEL edge."""
return (
isinstance(u, cls.subject_type) and
edge_data[RELATION] == cls.relation and
isinstance(v, cls.object_type)
isinstance(u, cls.subject_type) and
edge_data[RELATION] == cls.relation and
isinstance(v, cls.object_type)
)


Expand Down

0 comments on commit cf5a1ca

Please sign in to comment.