diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c517e5a..524db21a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,28 +2,28 @@ ci: autoupdate_schedule: monthly repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.15.0 hooks: - id: pyupgrade args: ["--py37-plus"] - repo: https://github.com/asottile/reorder-python-imports - rev: v3.10.0 + rev: v3.12.0 hooks: - id: reorder-python-imports args: ["--application-directories", "src"] - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 24.1.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: - flake8-bugbear - flake8-implicit-str-concat - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: fix-byte-order-marker - id: trailing-whitespace diff --git a/src/cachelib/memcached.py b/src/cachelib/memcached.py index 4fbcce68..7c2f70ad 100644 --- a/src/cachelib/memcached.py +++ b/src/cachelib/memcached.py @@ -9,7 +9,6 @@ class MemcachedCache(BaseCache): - """A cache that uses memcached as backend. The first argument can either be an object that resembles the API of a diff --git a/src/cachelib/simple.py b/src/cachelib/simple.py index 14302cfc..7e7b7e13 100644 --- a/src/cachelib/simple.py +++ b/src/cachelib/simple.py @@ -6,7 +6,6 @@ class SimpleCache(BaseCache): - """Simple memory cache for single process environments. This class exists mainly for the development server and is not 100% thread safe. It tries to use as many atomic operations as possible and no locks for simplicity