Skip to content

Commit f8e7a7d

Browse files
authored
Merge branch 'main' into addtypes
2 parents c08f592 + 7301771 commit f8e7a7d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/pythonpackage.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Python package
55

66
on:
77
push:
8-
branches: [ master ]
8+
branches: [ main ]
99
pull_request:
10-
branches: [ master ]
10+
branches: [ main ]
1111

1212
jobs:
1313
build:
@@ -47,6 +47,11 @@ jobs:
4747
pip install flake8
4848
# stop the build if there are Python syntax errors or undefined names
4949
flake8 --ignore=W293,E265,E266,W503,W504,E731 --count --show-source --statistics
50+
- name: Check types with mypy
51+
run: |
52+
set -x
53+
pip install tox
54+
tox -e type
5055
- name: Test with nose
5156
run: |
5257
set -x
@@ -56,4 +61,4 @@ jobs:
5661
run: |
5762
set -x
5863
pip install -r doc/requirements.txt
59-
make -C doc html
64+
make -C doc html

0 commit comments

Comments
 (0)