File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ install:
37
37
script :
38
38
- if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then black --check django_prometheus/; fi
39
39
- flake8 django_prometheus
40
+ - isort -rc django_prometheus/
40
41
- coverage run --source=django_prometheus setup.py test
41
42
- python setup.py sdist bdist_wheel
42
43
- pushd django_prometheus/tests/end2end && PYTHONPATH=../../.. coverage run --source=django_prometheus manage.py test && popd
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ Django>=1.11
2
2
django-redis >= 4.8
3
3
black ; python_version >= '3.6'
4
4
flake8
5
+ isort
5
6
prometheus-client >= 0.7
6
7
pip-prometheus >= 1.2.1
7
8
mock
Original file line number Diff line number Diff line change 1
1
[flake8]
2
2
ignore = E501,W503
3
+
4
+ [isort]
5
+ multi_line_output =3
6
+ line_length =88
7
+ force_grid_wrap =0
8
+ include_trailing_comma =True
You can’t perform that action at this time.
0 commit comments