Switch to python 3.11
This commit is contained in:
parent
dd68fd4ead
commit
0b1294b6e7
@ -1,7 +1,7 @@
|
||||
---
|
||||
run pylint:
|
||||
stage: test
|
||||
image: python:3.9
|
||||
image: python:3.11
|
||||
script:
|
||||
- pip install --upgrade pylint
|
||||
- pylint $(git ls-files '*.py')
|
||||
@ -10,7 +10,7 @@ run pylint:
|
||||
|
||||
run flake8:
|
||||
stage: test
|
||||
image: python:3.9
|
||||
image: python:3.11
|
||||
script:
|
||||
- pip install --upgrade flake8
|
||||
- flake8 $(git ls-files '*.py')
|
||||
@ -19,7 +19,7 @@ run flake8:
|
||||
|
||||
run mypy:
|
||||
stage: test
|
||||
image: python:3.9
|
||||
image: python:3.11
|
||||
script:
|
||||
- pip install --upgrade mypy
|
||||
- mypy --install-types --non-interactive $(git ls-files '*.py')
|
||||
@ -28,7 +28,7 @@ run mypy:
|
||||
|
||||
run tests:
|
||||
stage: test
|
||||
image: python:3.9
|
||||
image: python:3.11
|
||||
script:
|
||||
- pip install pytest pytest-cov pytest-mock pytest-flask
|
||||
- pip install Flask-HTTPAuth
|
||||
|
Loading…
x
Reference in New Issue
Block a user