Skip to content

Commit 5308a17

Browse files
authored
Update python (#31)
* Use v5 for actions/setup-python * Use Python 3.10 * Use mypy 1.11.0 * Update mypi.ini
1 parent de47251 commit 5308a17

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: .github/workflows/python.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
persist-credentials: false
3333
- name: Remove ignored paths
3434
run: find . -name .lint-ignore | xargs dirname | xargs rm -rf
35-
- uses: actions/setup-python@v4
35+
- uses: actions/setup-python@v5
3636
with:
37-
python-version: '3.9'
37+
python-version: '3.10'
3838
architecture: x64
3939
- name: Install flake8 and plugins
4040
run: pip install --disable-pip-version-check flake8-black==0.3.5 flake8-isort==5.0.3
@@ -91,12 +91,12 @@ jobs:
9191
persist-credentials: false
9292
- name: Remove ignored paths
9393
run: find . -name .lint-ignore | xargs dirname | xargs rm -rf
94-
- uses: actions/setup-python@v4
94+
- uses: actions/setup-python@v5
9595
with:
96-
python-version: '3.9'
96+
python-version: '3.10'
9797
architecture: x64
9898
- name: Install mypy
99-
run: pip install --disable-pip-version-check mypy==0.950
99+
run: pip install --disable-pip-version-check mypy==1.11.0
100100
- name: Run mypy
101101
id: check
102102
continue-on-error: ${{ inputs.continue-on-error }}

Diff for: mypy.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[mypy]
22
ignore_missing_imports = True
33
implicit_reexport = True
4-
python_version = 3.9
4+
python_version = 3.10
55
show_column_numbers = True
66
show_error_codes = True
77
strict = True

0 commit comments

Comments
 (0)