Skip to content

Commit

Permalink
Suppress C901 on _lru_cache_wrapper. Implementation is upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 1, 2024
1 parent b42ab95 commit 25270b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backports/functools_lru_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def decorating_function(user_function):
return decorating_function


def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo):
def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo): # noqa: C901
# Constants shared by all lru cache instances:
sentinel = object() # unique object used to signal cache misses
make_key = _make_key # build a key from the function arguments
Expand Down

0 comments on commit 25270b1

Please sign in to comment.