Skip to content

Commit 0e9e501

Browse files
committed
upgrade pyupgrade
1 parent d73ebed commit 0e9e501

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2525
- name: Check pyupgrade
26-
run: pyupgrade --py39-plus .
26+
run: pyupgrade --py310-plus *.py tests/*.py
2727
- name: Check formatting with black
2828
uses: psf/black@stable
2929
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ repos:
2525
rev: v3.1.0
2626
hooks:
2727
- id: pyupgrade
28-
args: ['--py39-plus']
28+
args: ['--py310-plus']

0 commit comments

Comments
 (0)