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

6 Коммитов

Автор SHA1 Сообщение Дата
Steve Jalim ab38b080ab
10570: Add isort support to project (#10573)
* Update requirements to avoid requests version clash

* 10570: Add isort to project

* 10570: Add isort config to project

* 10570: Add isort as a test run/CI step

* 10570: Add isort to pre-commit config

* 10570: Update isort config to allow tests/pages.py to be first-party, which is more appropriate

* 10570: Apply isort to entire codebase, using project config

* 10570: Explicitly include lib/ as a first-party import

This behaviour is already implicit in the current config, but making it explicit, partly to protect against a future change. Also makes it easier to grok what will happen to various bedrock-codebase imports

* 10570: Update isort config to stack Django imports above third-party ones

* 10570: [nit-fix] Update run-tests.sh to call isort with the same syntax pattern as we call black
2021-10-11 18:08:58 +01:00
Rob Hudson 31943fea75 Black format all Python files 2021-09-30 16:03:35 -04:00
Chris Beaven bf67e8bf34 Django 2.2 (#7196)
* Complete removal of nose test artifacts

* Update base requirements to Django 2.2 and python 3 compatibile packages
2019-07-03 02:24:42 -05:00
Josh Mize 1a453dc70c Revert "Upgrade pytest-xdist to latest (1.26.1) (#6767)"
This reverts commit b6aa4437df.
2019-01-31 13:17:53 -05:00
Josh Mize b6aa4437df Upgrade pytest-xdist to latest (1.26.1) (#6767)
* Upgrade pytest-xdist to latest (1.26.1)
* Add pytest-forked as a new dependency of pytest-xdist
* Upgrade pytest for newer pytest-xdist
* Add new pytest dependencies
* Upgrade pathlib2 to satisfy new xdist.looponfail dependency
* Add scandir dependency for upgraded pathlib2
* Upgrade py to satisfy xdist.looponfail dependency
* Upgrade pytest-selenium for compat with pytest 4.1. See  pytest-dev/pytest-selenium#206
* Upgrade pytest-metadata for compatibility with newer pytest. see pytest-dev/pytest#2960
* Upgrade pytest-rerunfailures for compat with newer pytest
* Upgrade pytest-django for newer pydev compatibility
* Replace getfuncargvalue with getfixturevalue for pytest4 compat
2019-01-31 11:50:15 -05:00
Dave Hunt 656ef73c60 Move the redirect tests into the tests directory and consolidate with the tests from mcom-tests 2016-01-26 15:23:03 +00:00