Skip to content

Commit ce2b0db

Browse files
committed
1 parent 4553f4f commit ce2b0db

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ install:
2929
- pip install -r requirements.txt
3030
- pip install -q Django==$DJANGO_VERSION
3131
- mysql -e 'create database django_prometheus_1;'
32-
before_script:
33-
- pep8 .
3432
script:
33+
- pycodestyle django_prometheus/.
3534
- python setup.py test
3635
- (cd django_prometheus/tests/end2end; PYTHONPATH=../../.. python manage.py test)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Django>=1.11
22
django-redis>=4.8
3-
pep8
3+
pycodestyle
44
prometheus-client>=0.7
55
pip-prometheus>=1.2.1
66
mock

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
test=pytest
33

44
[tool:pytest]
5-
addopts = --ignore django_prometheus/tests/end2end
5+
addopts = --ignore django_prometheus/tests/end2end
6+
7+
[pycodestyle]
8+
max-line-length = 110

0 commit comments

Comments
 (0)