File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,18 @@ repos:
3131 - id : trailing-whitespace
3232
3333 # Python hooks
34+ - repo : https://github.com/asottile/pyupgrade
35+ rev : v2.7.2
36+ hooks :
37+ - id : pyupgrade
38+ args : [--py36-plus]
39+
40+ - repo : https://github.com/psf/black
41+ rev : 20.8b1
42+ hooks :
43+ - id : black
44+ args : ["--line-length=100"]
45+
3446 # PEP 257
3547 - repo : https://github.com/FalconSocial/pre-commit-mirrors-pep257
3648 rev : v0.3.3
@@ -44,12 +56,6 @@ repos:
4456 - id : flake8
4557 args : ["--ignore=E501"]
4658
47- - repo : https://github.com/psf/black
48- rev : 20.8b1
49- hooks :
50- - id : black
51- args : ["--line-length=100"]
52-
5359 # CPP hooks
5460 # The same options as in ament_cppcheck are used, but its not working...
5561 # - repo: https://github.com/pocc/pre-commit-hooks
You can’t perform that action at this time.
0 commit comments