From 4a673931de2c83d04ad576e4cb0736e5b221b561 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 28 Feb 2024 23:32:54 +0100 Subject: [PATCH] pre-commit autoupdate && pre-commit run --all-files (#69) * pre-commit autoupdate && pre-commit run --all-files * Update CI --------- Co-authored-by: J.C. Jones --- .github/workflows/ci.yml | 6 +++--- .pre-commit-config.yaml | 15 ++++++++------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80df927..c7d07fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,9 @@ jobs: - name: Install Linting Tools run: | python -m pip install --upgrade pip - pip install --user pylint==2.17.7 - pip install --user black~=22.3 - pip install --user flake8~=4.0 + pip install --user pylint==3.1.0 + pip install --user black~=23.9.1 + pip install --user flake8~=6.1.0 pip install --user pytest - name: Install Partition Manager diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ccccb8a..021a047 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,30 +1,31 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v4.4.0 hooks: - id: check-ast - - id: detect-private-key - id: check-merge-conflict + - id: detect-private-key - id: end-of-file-fixer - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: "22.3.0" + rev: "23.9.1" hooks: - id: black -- repo: https://gitlab.com/pycqa/flake8 - rev: "4.0.0" +- repo: https://github.com/pycqa/flake8 + rev: "6.1.0" hooks: - id: flake8 - repo: https://github.com/PyCQA/pylint - rev: v2.17.7 + rev: v3.1.0 hooks: - id: pylint args: - - -E + - --errors-only additional_dependencies: - PyMySQL - pyyaml + - pytest - repo: local hooks: - id: pytest