Skip to content

Commit

Permalink
Added pylint disable
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Dec 4, 2024
1 parent ab412c1 commit 34cadaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ontopy/ontology.py
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ def sync_reasoner(
Keyword arguments are passed to the underlying owlready2 function.
"""
# pylint: disable=too-many-branches,too-many-locals
# pylint: disable=unexpected-keyword-arg
# pylint: disable=unexpected-keyword-arg,invalid-name
removed_gspo = [] # obj: (ontology, s, p, o)
removed_gspod = [] # data: (ontology, s, p, o, d)

Expand All @@ -1356,7 +1356,7 @@ def sync_reasoner(
remove_custom_datatypes = False
elif reasoner == "HermiT":
sync = owlready2.sync_reasoner_hermit
remove_custom_datatypes = False
remove_custom_datatypes = True
else:
raise ValueError(
f"Unknown reasoner '{reasoner}'. Supported reasoners "
Expand Down

0 comments on commit 34cadaa

Please sign in to comment.