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