Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inline ignore for line too long errors #674

Merged
merged 1 commit into from
Sep 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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