Commit Graph

12 Commits

Author SHA1 Message Date
Yang Yang 9db728921d
Improve the lint situation (#1688)
* Move common flake8 options into config file

Currently --max-line-length being specified in two places. Just use the
existing value in the config file as the source of truth.

Move --count and --statistics to config file as well.

* Fix some lints
2022-08-07 06:48:00 +07:00
Darshan Rai ada2ad03ca modify zadd calls for redis-py 3.0 (#1016)
* modify zadd calls for redis-py 3.0

redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd

* change FailedQueue.push_job_id to always push a str

redis-py 3.0 does not attempt to cast values to str and is left
to the user.

* remove Redis connection patching

Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
2018-12-03 07:28:36 +07:00
Theo 16e02ca1d4 Smoke tests 2017-08-31 09:24:01 +01:00
Arnold Krille c6765e12ff Move the flake8 config to setup.cfg
My editor (atom) reads the setup.cfg but doesn't parse the cmd-line args in the
tox.ini. So lets move the flake8 config to setup.cfg.
2016-03-13 18:42:12 +01:00
Erik Vrolijk 10cca234cd issue #551 2015-06-16 15:48:49 +02:00
Vincent Driessen 9d78f145a3 Add wheel support to RQ. 2014-01-03 08:11:01 +01:00
Vincent Driessen d1c2b3b78d Merge branch 'selwin-remove-logbook'
Conflicts:
	rq/utils.py
	rq/worker.py
	setup.cfg
	setup.py
2013-01-18 15:47:21 +01:00
Vincent Driessen 0e825c98ca Remove procname dependency. 2012-09-14 14:48:46 +02:00
Vincent Driessen 879a87d158 Remove logbook and replace it with logging.
This reverts commit 1ab8c19696 and
reintroduces all changes made by @dstufft.

Still, it needs more patches to reeanble the default log-to-console
behaviour.  See #121.
2012-09-02 11:26:31 +02:00
Vincent Driessen 1ab8c19696 Revert "Remove logbook and replace it with logging".
This reverts the commit range f367c38..978ba2d.

Issue #121 is currently blocking the 0.3.1 release.
2012-08-30 21:35:44 +02:00
Donald Stufft f188d66354 Remove logbook from the install_requires and other dependency areas 2012-08-21 11:45:55 -04:00
Vincent Driessen e992d65a30 Add RPM dependencies. 2012-01-25 10:46:11 +01:00