Skip to content

Commit

Permalink
Satisfy pylint after running pre-commit for all files
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Dec 2, 2021
1 parent 3ee3943 commit 5cb20d2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions emmopy/emmocheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,8 @@ def test_namespace(self):
exceptions.update(self.get_config("test_namespace.exceptions", ()))

def checker(onto, ignore_namespace):
if (
list(
filter(
onto.base_iri.strip("#").endswith, self.ignore_namespace
)
)
!= []
if list(
filter(onto.base_iri.strip("#").endswith, self.ignore_namespace)
):
print(f"Skipping namespace: {onto.base_iri}")
return
Expand Down

0 comments on commit 5cb20d2

Please sign in to comment.