diff options
author | Jordan Cook <jordan.cook.git@proton.me> | 2023-05-08 11:23:22 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook.git@proton.me> | 2023-05-08 11:32:25 -0500 |
commit | 7a0aa6de6bb9d912554bac6cafef2d2ff7c757b6 (patch) | |
tree | 70b96898114b73698dc3cdc4639f215acd07fce1 /requests_cache/patcher.py | |
parent | 83f7bc77e4daeab70e19e29a1ed1ba4bcabff9e1 (diff) | |
download | requests-cache-7a0aa6de6bb9d912554bac6cafef2d2ff7c757b6.tar.gz |
Enable bugbear extension and fix warnings
Diffstat (limited to 'requests_cache/patcher.py')
-rw-r--r-- | requests_cache/patcher.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requests_cache/patcher.py b/requests_cache/patcher.py index 406ee45..aa5af76 100644 --- a/requests_cache/patcher.py +++ b/requests_cache/patcher.py @@ -121,6 +121,7 @@ def remove_expired_responses(): warn( 'remove_expired_responses() is deprecated; please use delete() instead', DeprecationWarning, + stacklevel=2, ) delete(expired=True) |