Skip to content

Commit

Permalink
Merge pull request #674 from ecalifornica/fix-linter-error-E501
Browse files Browse the repository at this point in the history
Add inline ignore for line too long errors
  • Loading branch information
reece committed Sep 10, 2023
2 parents 160e6a0 + 7b22fa2 commit 9e90f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hgvs/decorators/lru_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def lru_cache(maxsize=100, typed=False, mode=None, cache=None):
VERIFY: always execute the function; if persistent cache value and returned value are different, raise VerifyFailedError
:param cache: PersistentDict object or None;
"""
""" # noqa: E501

# Users should only access the lru_cache through its public API:
# cache_info, cache_clear, and f.__wrapped__
Expand Down
2 changes: 1 addition & 1 deletion src/hgvs/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def __lt__(lhs, rhs):
lhs.base - rhs.base == 1 and rhs.offset > 0 and lhs.offset < 0
):
raise HGVSUnsupportedOperationError(
"Cannot compare coordinates in the same intron with one based on end of exon and the other based on start of next exon"
"Cannot compare coordinates in the same intron with one based on end of exon and the other based on start of next exon" # noqa: E501
)
else:
return lhs.base < rhs.base
Expand Down

0 comments on commit 9e90f20

Please sign in to comment.