From dfcadeff9f6fb361bc211df8aa4a0844cb41481e Mon Sep 17 00:00:00 2001 From: Ivan Kropotkin Date: Tue, 12 Dec 2023 13:48:49 +0100 Subject: [PATCH 1/2] update autoflake version --- static-files/14.0/.pre-commit-config.yaml | 2 +- static-files/15.0/.pre-commit-config.yaml | 2 +- static-files/16.0/.pre-commit-config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static-files/14.0/.pre-commit-config.yaml b/static-files/14.0/.pre-commit-config.yaml index 6846c48..b9c0ad3 100644 --- a/static-files/14.0/.pre-commit-config.yaml +++ b/static-files/14.0/.pre-commit-config.yaml @@ -15,7 +15,7 @@ default_language_version: node: "14.13.0" repos: - repo: https://github.com/myint/autoflake - rev: v1.4 + rev: v1.6.1 hooks: - id: autoflake args: ["-i", "--ignore-init-module-imports"] diff --git a/static-files/15.0/.pre-commit-config.yaml b/static-files/15.0/.pre-commit-config.yaml index 5f05071..1c42c73 100644 --- a/static-files/15.0/.pre-commit-config.yaml +++ b/static-files/15.0/.pre-commit-config.yaml @@ -15,7 +15,7 @@ default_language_version: node: "14.13.0" repos: - repo: https://github.com/myint/autoflake - rev: v1.4 + rev: v1.6.1 hooks: - id: autoflake args: ["-i", "--ignore-init-module-imports"] diff --git a/static-files/16.0/.pre-commit-config.yaml b/static-files/16.0/.pre-commit-config.yaml index 05ba464..aa8c3eb 100644 --- a/static-files/16.0/.pre-commit-config.yaml +++ b/static-files/16.0/.pre-commit-config.yaml @@ -15,7 +15,7 @@ default_language_version: node: "14.13.0" repos: - repo: https://github.com/myint/autoflake - rev: v1.4 + rev: v1.6.1 hooks: - id: autoflake args: ["-i", "--ignore-init-module-imports"] From 817fd4ab197754ea79a06f677dca592ce3c109b1 Mon Sep 17 00:00:00 2001 From: Ivan Kropotkin Date: Tue, 12 Dec 2023 13:49:44 +0100 Subject: [PATCH 2/2] stick python version on 3.8 --- static-files/all/.github/workflows/DINAR-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static-files/all/.github/workflows/DINAR-pr.yml b/static-files/all/.github/workflows/DINAR-pr.yml index 7970c5b..17e5df4 100644 --- a/static-files/all/.github/workflows/DINAR-pr.yml +++ b/static-files/all/.github/workflows/DINAR-pr.yml @@ -27,7 +27,9 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 + with: + python-version: "3.8" - name: Check Python Version run: echo "PY=$(python --version --version | sha256sum | cut -d' ' -f1)" >>