File tree 4 files changed +30
-0
lines changed
4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1
1
venv /
2
2
__pycache__ /
3
+ .mypy_cache
3
4
.cache /
4
5
.DS_Store
5
6
* .pyc
Original file line number Diff line number Diff line change @@ -8,3 +8,9 @@ if [ $? -ne 0 ]; then
8
8
echo " Tests failed, commit aborted. 🤕"
9
9
exit 1
10
10
fi
11
+
12
+ ./hooks/run-static-check.sh
13
+ if [ $? -ne 0 ]; then
14
+ echo " Type checker reported errors, commit aborted."
15
+ exit 1
16
+ fi
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # exit as soon as any line fails
4
+ set -e
5
+
6
+ # make sure we are always in our project's root dir
7
+ cd " ${0%/* } /.."
8
+
9
+ echo " running mypy type checks..."
10
+ mypy fmrest --ignore-missing-imports
11
+
12
+ exit $?
13
+
Original file line number Diff line number Diff line change 1
1
appnope == 0.1.0
2
2
certifi == 2017.11.5
3
3
chardet == 3.0.4
4
+ cycler == 0.10.0
4
5
decorator == 4.1.2
5
6
idna == 2.6
6
7
ipykernel == 4.6.1
@@ -9,25 +10,34 @@ ipython-genutils==0.2.0
9
10
jedi == 0.11.0
10
11
jupyter-client == 5.1.0
11
12
jupyter-core == 4.4.0
13
+ matplotlib == 2.1.0
12
14
mock == 2.0.0
15
+ mypy == 0.610
13
16
numpy == 1.13.3
14
17
pandas == 0.21.0
15
18
parso == 0.1.0
16
19
pbr == 3.1.1
17
20
pexpect == 4.2.1
18
21
pickleshare == 0.7.4
22
+ pkginfo == 1.4.2
19
23
prompt-toolkit == 1.0.15
24
+ psutil == 5.4.1
20
25
ptyprocess == 0.5.2
21
26
py == 1.4.34
22
27
Pygments == 2.2.0
28
+ pyparsing == 2.2.0
23
29
pytest == 3.2.3
24
30
python-dateutil == 2.6.1
25
31
pytz == 2017.3
26
32
pyzmq == 16.0.3
27
33
requests == 2.18.4
34
+ requests-toolbelt == 0.8.0
28
35
simplegeneric == 0.8.1
29
36
six == 1.11.0
30
37
tornado == 4.5.2
38
+ tqdm == 4.23.4
31
39
traitlets == 4.3.2
40
+ twine == 1.11.0
41
+ typed-ast == 1.1.0
32
42
urllib3 == 1.22
33
43
wcwidth == 0.1.7
You can’t perform that action at this time.
0 commit comments