Skip to content

Commit 0f0d885

Browse files
committed
CI: Check for accidental imports
1 parent e1313df commit 0f0d885

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ script:
121121
- ci/script_single.sh
122122
- ci/script_multi.sh
123123
- ci/lint.sh
124+
- echo "checking imports"
125+
- python ci/check_imports.py
124126
- echo "script done"
125127

126128
after_success:

scripts/check_imports.py renamed to ci/check_imports.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,22 @@
33
"""
44
import sys
55

6-
76
blacklist = {
7+
'bs4',
8+
'html5lib',
9+
'jinja2'
10+
'lxml',
811
'matplotlib',
912
'numexpr',
10-
'xlsxwriter',
1113
'openpyxl',
14+
'py',
15+
'pytest',
16+
's3fs',
17+
'scipy',
18+
'tables',
19+
'xlrd',
20+
'xlsxwriter',
1221
'xlwt',
13-
'numexpr',
1422
}
1523

1624

0 commit comments

Comments
 (0)