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