Skip to content

Commit e5ce7a6

Browse files
committed
PEP8
1 parent 2152429 commit e5ce7a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ def pytest_runtest_setup(item):
2222
if (fname.endswith(os.path.join('keras', '_generator.py')) or
2323
fname.endswith('miscellaneous.rst')):
2424
try:
25-
import keras
25+
import keras # noqa
2626
except ImportError:
2727
pytest.skip('The keras package is not installed.')
2828
elif (fname.endswith(os.path.join('tensorflow', '_generator.py')) or
2929
fname.endswith('miscellaneous.rst')):
3030
try:
31-
import tensorflow
31+
import tensorflow # noqa
3232
except ImportError:
3333
pytest.skip('The tensorflow package is not installed.')
3434
elif "dask" in fname:
3535
try:
36-
import dask
36+
import dask # noqa
3737
except ImportError:
3838
pytest.skip('The dask package is not installed.')

0 commit comments

Comments
 (0)