| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
flake8 catches a wider net of mistakes than pycodestyle and is more
commonly used by the larger community. For example, it catches unused
imports, a few of which existed. These have since been removed.
Two "noqa" comments were added. One ignores the _compat.py file as it
has a large amount of Python version specific code. The second is in
utils.py which intentionally does not use an import.
|
|
|
|
|
| |
* add thread_local=False parameter to Lock.__init__() and StrictRedis.lock()
* use thread_local to decide whether to put token in thread-local storage
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
A simple patch to enable pep8 in tox and format our code properly.
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
|
|\
| |
| |
| |
| |
| | |
Conflicts:
redis/client.py
redis/utils.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`from_url()` is now implemented as a classmethod. The previous
implementation always returned instances of the `Redis` class. This
new approach lets us construct StrictRedis instances (or any other
class derived from StrictRedis, including Redis).
`utils.from_url()` has been preserved for backwards compatibility.
Also, both versions of `from_url()` now pass along any additional
keyword arguments to the class's initializer.
|
| | |
|
|/ |
|
| |
|
|
|