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

13 Коммитов

Автор SHA1 Сообщение Дата
Yoann Schneider cfb19a5ef8
Bug 1823654 - Mostly use double quotes (#7900)
* Enable quote style verifications from Black

* Actually exclude migrations folders
2024-01-31 16:59:20 +01:00
EvaBardou 8ad5cbd33f Upgrade remaining dependencies in common.in 2023-07-07 00:46:47 +02:00
Armen Zambrano 368c112266
Apply black formating to the whole repo (#6332)
* Automatic black fixes
* Add conflicting rule exceptions between black and flake8
2020-04-21 10:35:59 -04:00
Ed Morley 39ba1395ff
Bug 1529243 - Update Python from 3.6 to 3.7 (#4723)
Now possible since Celery/Kombu have been updated in #4722 to version
that are compatible with Python 3.7.

Notable changes:
https://docs.python.org/3/whatsnew/3.7.html
2019-02-28 20:24:02 +00:00
Ed Morley ff2993d2fb
Bug 1330474 - Switch from Python 2.7 to Python 3.6 (#4668)
This makes Heroku/Vagrant use Python 3.6.8 instead of Python 2.7, and
inverts the versions used in the Travis testing matrix - leaving all
unit tests running against Python 2.7 to make it easier to roll back
if needs be. The Vagrant provision script and Heroku Python buildpack will
automatically detect the changed Python version and purge the existing
installation/site-packages prior to installing the new version.

We're using Python 3.6 rather than 3.7, since latest Celery/Kombu do not
yet support Python 3.7 (and we're on an older version anyway; bug 1337717).
Bug 1529243 is filed for updating to Python 3.7 later.
2019-02-21 07:38:24 +00:00
Ed Morley ba07c2d68f
Bug 1528485 - Suppress manage.py DeprecationWarnings from dependencies (#4652)
Prevents:

```
kombu/five.py:20: DeprecationWarning: the imp module is deprecated in favour of importlib ...
markdown/util.py:453: DeprecationWarning: Using the add method to register a processor or pattern is deprecated ...
newrelic/api/import_hook.py:166: DeprecationWarning: Use importlib.util.find_spec() instead
```
2019-02-20 06:45:51 +00:00
Ed Morley aaaf1a51aa Bug 1389517 - Enable DeprecationWarnings when running manage.py
To help surface deprecation warnings more visible when running
Django commands locally (rather than just when running pytest).
These will not cause the command to fail.
2018-04-11 21:11:57 +01:00
Ed Morley 8ae9071901 Bug 1197186 - Move settings to treeherder/config/
Since they're not specific to the Django app 'webapp'.

Whilst we're there, the local & example settings files have been
renamed. In the future I'd like to combine settings_local.example.py
with puppet/files/treeherder/local.vagrant.py, but I'll do that in
another bug.
2015-10-08 19:59:46 +01:00
Ed Morley 90ba77e596 Bug 1192801 - Remove per-file MPL boilerplate since it's unnecessary
The MPL 2.0 terms state that as long as a LICENSE file is present, the
per-file header text is not required. See "Exhibit A" at the end of:
https://www.mozilla.org/MPL/2.0/
2015-08-18 23:32:11 +01:00
Jonathan French dbb4d11e09 Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
Ed Morley 2cae1d2dab Bug 1069290 - manage.py should overwrite DJANGO_SETTINGS_MODULE if set 2014-09-23 12:50:05 +01:00
Cameron Dawson 8e37cc5078 fixed function references for JobsModel 2013-04-17 09:35:57 -07:00
mdoglio d101a5e222 relocate webapp under treeherder 2013-03-07 19:09:35 +00:00