mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
add pyupgrade to pre-commit hooks
This commit is contained in:
@ -43,3 +43,8 @@ repos:
|
||||
hooks:
|
||||
- id: mypy
|
||||
exclude: tests/
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.15.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py38-plus]
|
||||
|
||||
Reference in New Issue
Block a user