mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 15:28:50 -04:00
Done using isort[1], with the following command:
```
isort -rc ./app ./tests
```
Adds linting to the `run_tests.sh` script to stop badly-sorted imports
getting re-introduced.
Chosen style is ‘Vertical Hanging Indent’ with trailing commas, because
I think it gives the cleanest diffs, eg:
```
from third_party import (
lib1,
lib2,
lib3,
lib4,
)
```
1. https://pypi.python.org/pypi/isort
14 lines
231 B
Plaintext
14 lines
231 B
Plaintext
-r requirements.txt
|
|
isort==4.3.4
|
|
pytest==3.4.1
|
|
pytest-env==0.6.2
|
|
pytest-mock==1.7.0
|
|
pytest-cov==2.5.1
|
|
pytest-xdist==1.22.2
|
|
coveralls==1.2.0
|
|
httpretty==0.8.14
|
|
beautifulsoup4==4.6.0
|
|
freezegun==0.3.9
|
|
flake8==3.5.0
|
|
flake8-print==3.1.0
|