From 5b7a89a73fad00ac18c793d84def4c2218bfd0db Mon Sep 17 00:00:00 2001 From: psrok1 Date: Thu, 15 May 2025 17:18:15 +0200 Subject: [PATCH] Various fixes: default Python version bump to 3.9, fix package version, bump Flake8 to support Python 3.12 --- .github/workflows/test.yml | 2 +- action.yml | 4 ++-- lint_python/constants.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bcc067..cf1ad39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.9 - run: pip install . - run: lint-python --install --check diff --git a/action.yml b/action.yml index 45ca065..8d85b5c 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: python-version: description: "What Python version use for running linting tools" required: false - default: '3.8' + default: '3.9' use-isort: description: "Run isort check" required: false @@ -43,7 +43,7 @@ runs: - uses: actions/setup-python@v4 with: python-version: ${{inputs.python-version}} - - run: pip install lint-python==2.2.1 + - run: pip install lint-python==2.3.1 shell: bash - run: pip install -r requirements.txt working-directory: ${{inputs.working-directory}} diff --git a/lint_python/constants.py b/lint_python/constants.py index 32c0fdf..d9d86ee 100644 --- a/lint_python/constants.py +++ b/lint_python/constants.py @@ -1,2 +1,2 @@ -__version__ = "2.3.0" -USED_LINTERS = ["isort==5.13.2", "black==24.8.0", "flake8==7.1.1", "mypy==1.14.1"] +__version__ = "2.3.1" +USED_LINTERS = ["isort==5.13.2", "black==24.8.0", "flake8==7.2.0", "mypy==1.14.1"]