Start running pre-commit under Python 3.10

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-01-30 14:54:23 +00:00
parent d235e83c15
commit 788fcd954c
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
3 changed files with 2 additions and 17 deletions

View file

@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: python:3.8.6-slim-buster
image: python:3.10-slim-buster
steps:

View file

@ -1,5 +1,5 @@
default_language_version:
python: python3
python: python3
exclude: ^(doc/_static/.*|doc/_themes/.*)$
repos:

View file

@ -1,15 +0,0 @@
@Library('salt@master-1.11') _
if (env.CHANGE_ID) {
// This is a PR
pre_commit_skips = ''
} else {
// This is a branch build
pre_commit_skips = ''
}
runPreCommit(
env: env,
pre_commit_skips: pre_commit_skips)
// vim: ft=groovy