Skip to content

Commit

Permalink
qabot -- clean
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Mar 30, 2021
1 parent 32a35a9 commit 0440e97
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions isbnlib/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def notisbn(isbnlike, level='strict'):
"""Check with the goal to invalidate isbn-like.
level:
strict for certain they are not ISBNs (default)
loose only filters obvious NO ISBNs
'strict' when certain they are not ISBNs (default)
'loose' only filters obvious NO ISBNs
"""
if level not in ('strict', 'loose'): # pragma: no cover
Expand Down Expand Up @@ -253,7 +253,6 @@ def get_canonical_isbn(isbnlike, output='bouth'):
return ''


# TODO(make return type consistent)!
def ean13(isbnlike):
"""Transform an `isbnlike` string in an EAN number (canonical ISBN-13)."""
ib = canonical(isbnlike)
Expand Down

0 comments on commit 0440e97

Please sign in to comment.