Skip to content

Commit

Permalink
Update python (#31)
Browse files Browse the repository at this point in the history
* Use v5 for actions/setup-python

* Use Python 3.10

* Use mypy 1.11.0

* Update mypi.ini
  • Loading branch information
nabeya11 authored Jul 24, 2024
1 parent de47251 commit 5308a17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ 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'
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
Expand Down Expand Up @@ -91,12 +91,12 @@ 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'
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 }}
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5308a17

Please sign in to comment.