diff --git a/.github/workflows/pre-commit-action.yml b/.github/workflows/pre-commit-action.yml index 6387fae9ef8..6cfb4ef1709 100644 --- a/.github/workflows/pre-commit-action.yml +++ b/.github/workflows/pre-commit-action.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest container: - image: python:3.8.6-slim-buster + image: python:3.10-slim-buster steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 326307b3e19..8d4ecbbd05c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ default_language_version: - python: python3 + python: python3 exclude: ^(doc/_static/.*|doc/_themes/.*)$ repos: diff --git a/cicd/jenkins/pr-pre-commit b/cicd/jenkins/pr-pre-commit deleted file mode 100644 index 17befb47d29..00000000000 --- a/cicd/jenkins/pr-pre-commit +++ /dev/null @@ -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