mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-05 22:23:21 +00:00
style: add pyupgrade check, 2.7+
This commit is contained in:
committed by
Henry Schreiner
parent
11e12fe455
commit
0e2e003508
@@ -30,6 +30,11 @@ repos:
|
||||
- id: fix-encoding-pragma
|
||||
exclude: ^noxfile.py$
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.21.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
|
||||
# Black, the code formatter, natively supports pre-commit
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.6b0
|
||||
|
||||
Reference in New Issue
Block a user