mirror of https://github.com/openXC7/prjxray.git
Use yapf instead of autopep8 for Python formatting
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
parent
67c7914a2c
commit
820c0a5d78
|
|
@ -0,0 +1,6 @@
|
|||
[style]
|
||||
based_on_style = pep8
|
||||
split_before_expression_after_opening_paren = True
|
||||
split_before_first_argument = True
|
||||
split_complex_comprehension = True
|
||||
split_penalty_comprehension = 2100
|
||||
2
Makefile
2
Makefile
|
|
@ -10,4 +10,4 @@ go:
|
|||
format:
|
||||
find . -name \*.cc -and -not -path './third_party/*' -exec $(CLANG_FORMAT) -style=file -i {} \;
|
||||
find . -name \*.h -and -not -path './third_party/*' -exec $(CLANG_FORMAT) -style=file -i {} \;
|
||||
find . -name \*.py -and -not -path './third_party/*' -exec autopep8 -i {} \;
|
||||
find . -name \*.py -and -not -path './third_party/*' -exec yapf -p -i {} \;
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
autopep8
|
||||
yapf
|
||||
futures
|
||||
|
|
|
|||
Loading…
Reference in New Issue