Skip to content

Commit 4d578e0

Browse files
authored
Merge pull request #168 from asherf/md
Run flake8 on code.
2 parents 74532ad + 78951ca commit 4d578e0

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ install:
3636
- mysql -e 'create database django_prometheus_1;'
3737
script:
3838
- if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then black --check django_prometheus/; fi
39+
- flake8 django_prometheus
3940
- coverage run --source=django_prometheus setup.py test
4041
- python setup.py sdist bdist_wheel
4142
- pushd django_prometheus/tests/end2end && PYTHONPATH=../../.. coverage run --source=django_prometheus manage.py test && popd

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Django>=1.11
22
django-redis>=4.8
33
black; python_version >= '3.6'
4+
flake8
45
prometheus-client>=0.7
56
pip-prometheus>=1.2.1
67
mock

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
ignore = E501,W503

0 commit comments

Comments
 (0)