Skip to content

Commit 3cf1239

Browse files
committed
fixed lint issues and removed extternal libraries from flake8
1 parent f3a9a5f commit 3cf1239

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

tests/test_dataframe_mapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ def iris_dataframe():
828828
}
829829
)
830830

831+
831832
@pytest.fixture
832833
def cars_dataframe():
833834
return pd.read_csv("tests/test_data/cars.csv.gz", compression='gzip')
@@ -881,7 +882,6 @@ def test_with_car_dataframe(cars_dataframe):
881882
assert scores.mean() > 0.30
882883

883884

884-
885885
def test_heterogeneous_output_types_input_df():
886886
"""
887887
Modify feat2, but pass feat1 through unmodified.

tox.ini

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
[flake8]
2+
exclude =
3+
.git
4+
__pycache__
5+
docs/source/conf.py
6+
old
7+
build
8+
dist
9+
*site-packages/pyflakes
10+
*site-packages/_pytest
11+
*site-packages/dateutil
12+
113
[tox]
214
envlist = {py36}-sklearn{23}-pandas{1}
315

@@ -13,5 +25,5 @@ deps =
1325
sklearn23: scikit-learn==0.23.1
1426

1527
commands =
16-
flake8 --exclude build
28+
flake8
1729
py.test README.rst tests

0 commit comments

Comments
 (0)