mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Support Python 3.9
Remove the '|' syntax for type unions, since it's a 3.10 feature, and set mypy to check with version 3.9.
This commit is contained in:
parent
d6c6a66c15
commit
0b8012b8e1
7 changed files with 18 additions and 11 deletions
|
@ -6,7 +6,7 @@ build:
|
|||
image: registry.gitlab.gnome.org/jwestman/blueprint-compiler
|
||||
stage: build
|
||||
script:
|
||||
- mypy blueprintcompiler
|
||||
- mypy --python-version=3.9 blueprintcompiler
|
||||
- coverage run -m unittest
|
||||
- coverage report
|
||||
- coverage html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue