Derived from the flake8-pie linter.
Fix is always available.
What it does#
endswith calls on the same value with
different prefixes or suffixes.
Why is this bad?#
endswith methods accept tuples of prefixes or
suffixes respectively. Passing a tuple of prefixes or suffixes is more
more efficient and readable than calling the method multiple times.