Skip to content

Commit

Permalink
Replace pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
lidakanari committed Feb 23, 2018
1 parent 823df3d commit 8ea0ccc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $(VENV):
$(VENV_BIN)/pip install -e .

run_pep8: $(VENV)
$(VENV_BIN)/pep8 --config=pep8rc $(LINT_PYFILES) > pep8.txt
$(VENV_BIN)/pycodestyle --config=pep8rc $(LINT_PYFILES) > pep8.txt

run_pylint: $(VENV)
$(VENV_BIN)/pylint --rcfile=pylintrc --extension-pkg-whitelist=numpy $(LINT_PYFILES) > pylint.txt
Expand Down
2 changes: 1 addition & 1 deletion pep8rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[pep8]
[pycodestyle]
ignore=E121,E123,E126,E127,E261
max-line-length=100
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#R0401 - cyclic-import
#I0013 - Ignore the 'Ignoring entire file' warning
#W0142 - Used * or ** magic
disable=C0103,R0904,R0903,W0511,W0232,R0922,R0801,R0921,W0141,R0401,I0013,W0142,W1401
disable=C0103,R0904,R0903,W0511,W0232,R0922,R0801,R0921,W0141,R0401,I0013,W0142,W1401,C1801

[FORMAT]
# Maximum number of characters on a single line.
Expand Down
3 changes: 2 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pep8>=1.6.0
pycodestyle
pylint>=1.4.0
nose>=1.3.0
coverage==3.7
nosexcover>=1.0.8
numpy==1.14

0 comments on commit 8ea0ccc

Please sign in to comment.