diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index d6ebad11..f02c3234 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: YAMLLint - uses: docker://quay.io/giantswarm/yamllint:1.9 + uses: docker://gsoci.azurecr.io/giantswarm/yamllint:1.37.1 with: args: . diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8623cd5..2ceaf74e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,10 +7,12 @@ repos: # format Python code with black - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.10.0 hooks: - id: black language_version: python3 + files: ^tests/ats/.*\.py$ + exclude: '' # accept proper type annotations only - repo: https://github.com/pre-commit/pygrep-hooks @@ -20,7 +22,7 @@ repos: - id: python-check-blanket-noqa # bandit - repo: https://github.com/PyCQA/bandit - rev: '1.7.4' + rev: '1.8.6' hooks: - id: bandit args: [ "-c", ".bandit" ]