Skip to content

Commit a183613

Browse files
committed
Disable mypy on Python 3.7 in CI checks because it is too old
1 parent 9f889ca commit a183613

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/mypy-generated.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.8
33
namespace_packages = False
44
ignore_missing_imports = False
55
follow_imports = normal

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
- name: Lint generated python code
5858
run: |
5959
flake8 --ignore='W503,E203,E501,E741' --statistics dialects/
60+
61+
- name: Type check generated python code
62+
if: matrix.python-version != '3.7'
63+
run: |
64+
# Latest version of mypy that supports Python 3.7 is too old
6065
mypy --config-file ./.github/workflows/mypy-generated.ini dialects/v10/*.py dialects/v20/*.py
6166
6267
- name: Generate messages

0 commit comments

Comments
 (0)