Skip to content

Commit 4e8de67

Browse files
committed
fix #889 : replaced the pytest-pep8 plugins (no longer maintained since 2014) by the pytest-flake8 plugins
1 parent e4936d8 commit 4e8de67

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ install:
3737
# (issue 702 : fixed bug when writing metadata using HDF format)
3838
- conda create -n travisci --yes python=${TRAVIS_PYTHON_VERSION:0:3}
3939
"numpy>=1.13" "pandas>=0.20" pytables matplotlib xlrd openpyxl
40-
xlsxwriter "pytest>=3.5" pytest-pep8
40+
xlsxwriter "pytest>=3.5"
4141
- source activate travisci
42+
- pip install pytest-flake8
4243

4344
script:
4445
- pytest

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ addopts = -v --doctest-modules
1111
--ignore=larray/ipfp
1212
--ignore=larray/inout/xw_reporting.py
1313
--deselect larray/core/array.py::larray.core.array.Array.astype
14-
--pep8
14+
--flake8
1515
#--cov
1616
# E122: continuation line missing indentation or outdented
1717
# E127: check indents
@@ -21,8 +21,8 @@ addopts = -v --doctest-modules
2121
# E303: too many blank lines
2222
# E402 module level import not at top of file
2323
# E712: comparison to True should be 'if cond is True:' or 'if cond:'
24-
pep8ignore =
24+
flake8-ignore =
2525
__init__.py E402
2626
xw_excel.py E303
2727
test_*.py E127 E122 E201 E202 E241 E712
28-
pep8maxlinelength = 120
28+
flake8-max-line-length = 120

0 commit comments

Comments
 (0)