Remove deprecated pep8 and start using pycodestyle

This commit is contained in:
Jan Tuomi
2017-10-30 13:21:26 +02:00
parent 06cb73b5b4
commit aaf8cd6e04
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ pep8:
image: python:3.5
stage: lint
script:
- pip install pep8
- pep8 --config=setup.cfg --count .
- pip install pycodestyle
- pycodestyle --config=setup.cfg --count .
eslint:
image: node:7.10.0
+1 -1
View File
@@ -20,7 +20,7 @@ nose-exclude==0.5.0
psycopg2==2.7.1
django-bootstrap3==8.2.3
django-tables2==1.6.1
pep8==1.7.0
pycodestyle-2.3.1
dealer==2.0.5
django-modeltranslation==0.12.1
django-auditlog==0.4.3
+1 -1
View File
@@ -1,4 +1,4 @@
[pep8]
[pycodestyle]
max-line-length = 120
ignore = E501,E722
exclude = '*/migrations/*'
+1 -1
View File
@@ -17,4 +17,4 @@ class KaehmyExportTable(tables.Table):
has_any_board_role = tables.BooleanColumn(verbose_name=_('Applied for board'))
def __init__(self, *args, **kwargs):
super(KaehmyExportTable, self).__init__(*args, **kwargs)
super(KaehmyExportTable, self).__init__(*args, **kwargs)