From 89e460cf377019dffcfbfe1096a998af546cf746 Mon Sep 17 00:00:00 2001 From: nabeya11 Date: Wed, 24 Jul 2024 10:35:50 +0900 Subject: [PATCH 1/4] Use v5 for actions/setup-python --- .github/workflows/python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 566f06d..0007e35 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -32,7 +32,7 @@ jobs: persist-credentials: false - name: Remove ignored paths run: find . -name .lint-ignore | xargs dirname | xargs rm -rf - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.9' architecture: x64 @@ -91,7 +91,7 @@ jobs: persist-credentials: false - name: Remove ignored paths run: find . -name .lint-ignore | xargs dirname | xargs rm -rf - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.9' architecture: x64 From a239dd16a0787522947bfba3d0b899cb073c03e6 Mon Sep 17 00:00:00 2001 From: nabeya11 Date: Wed, 24 Jul 2024 10:37:28 +0900 Subject: [PATCH 2/4] Use Python 3.10 --- .github/workflows/python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 0007e35..4d987a4 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -34,7 +34,7 @@ jobs: run: find . -name .lint-ignore | xargs dirname | xargs rm -rf - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' architecture: x64 - name: Install flake8 and plugins run: pip install --disable-pip-version-check flake8-black==0.3.5 flake8-isort==5.0.3 @@ -93,7 +93,7 @@ jobs: run: find . -name .lint-ignore | xargs dirname | xargs rm -rf - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' architecture: x64 - name: Install mypy run: pip install --disable-pip-version-check mypy==0.950 From 4ee142d51e450811827ef79d6ba2b503f218634e Mon Sep 17 00:00:00 2001 From: nabeya11 Date: Wed, 24 Jul 2024 11:13:17 +0900 Subject: [PATCH 3/4] Use mypy 1.11.0 --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 4d987a4..1459d4b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -96,7 +96,7 @@ jobs: python-version: '3.10' architecture: x64 - name: Install mypy - run: pip install --disable-pip-version-check mypy==0.950 + run: pip install --disable-pip-version-check mypy==1.11.0 - name: Run mypy id: check continue-on-error: ${{ inputs.continue-on-error }} From 8a51a40cba9335bc4b92595f7190a20108694482 Mon Sep 17 00:00:00 2001 From: nabeya11 Date: Wed, 24 Jul 2024 11:41:10 +0900 Subject: [PATCH 4/4] Update mypi.ini --- mypy.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index 33b498c..328467b 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,7 +1,7 @@ [mypy] ignore_missing_imports = True implicit_reexport = True -python_version = 3.9 +python_version = 3.10 show_column_numbers = True show_error_codes = True strict = True