Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley dfb91271f0 Bug 1452212 - Add missing raw string annotations
Fixes pylint `anomalous-backslash-in-string`.
2018-04-10 20:10:27 +01:00
George Hickman 37bd9fe649 Bug 1428045 - Add future imports to turn print statements into functions 2018-03-21 11:56:27 +00:00
George Hickman 9cdeb4665a Bug 1428045 - Convert print statments to print functions 2018-03-21 11:56:27 +00:00
Ed Morley 8fae27955a Revert "Bug 1333079 - Switch to new style Celery setting names"
This reverts commit 1db3e2baf4.
2017-02-01 16:28:55 +00:00
Ed Morley 1db3e2baf4 Bug 1333079 - Switch to new style Celery setting names
Converted using:

celery upgrade settings treeherder/config/settings.py --django
celery upgrade settings tests/settings.py --django

As suggested by:
http://celery.readthedocs.io/en/latest/whatsnew-4.0.html#lowercase-setting-names

(I manually reverted the env variable name back to simplify deployment,
we can always clean these up later.)

The Django integration in celery.py has been cleaned up by following:
https://celery.readthedocs.io/en/latest/django/first-steps-with-django.html
2017-02-01 14:11:45 +00:00
James Graham 5ff72285c4 Bug 1255087 - Create a lint for ensuring that the heroku Procfile contains the same queues as CELERY_QUEUES in the settings file 2016-03-16 17:46:16 +00:00