diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8b352db06..59d9c2d23f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,7 +48,7 @@ jobs: submodules: recursive - uses: actions/setup-python@v2 with: - python-version: ${{ env.LOWEST_SUPPORTED_PY_VERSION }} + python-version: '3.10' architecture: 'x64' - uses: pre-commit/action@v3.0.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35608102ab..0439eba2f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,20 @@ repos: - repo: https://github.com/pycqa/flake8 - rev: '6.0.0' # pick a git hash / tag to point to + rev: '7.3.0' # pick a git hash / tag to point to hooks: - id: flake8 # Only run on files specified in .flake8 pass_filenames: false - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v14.0.6 + rev: v21.1.5 hooks: - id: clang-format files: "^src/" types: ["file", "c"] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: check-yaml - id: check-added-large-files @@ -28,7 +28,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/PyCQA/doc8 - rev: v1.1.1 + rev: v2.0.0 hooks: - id: doc8 args: ["doc/"]