Switch to python 3.11

This commit is contained in:
Ruben van Staveren 2024-07-31 15:50:29 +02:00
parent dd68fd4ead
commit 0b1294b6e7
Signed by: ruben
GPG Key ID: 886F6BECD477A93F

View File

@ -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