Skip to content

Commit 9c10210

Browse files
committed
Update .pre-commit-config.yaml
Added pyupgrade for auto upgrade Python syntax to python 3.13
1 parent 77375ec commit 9c10210

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,8 @@ repos:
142142
verbose: true
143143
args:
144144
['--install-types', '--non-interactive', '--ignore-missing-imports']
145+
- repo: https://github.com/asottile/pyupgrade
146+
rev: v3.20.0 # یا آخرین نسخه موجود
147+
hooks:
148+
- id: pyupgrade
149+
args: [--py313-plus]

0 commit comments

Comments
 (0)