File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,10 +60,14 @@ check-types: $(shell ls -d * | grep "openfisca_")
6060 && echo ${OK} \
6161 || { echo " \n$$ (cat /tmp/result)" && exit $$ (< /tmp/status) ; }
6262
63- format-style :
64- @# Do not analyse .gitignored files.
65- @# `make` needs `$$` to output `$`. Ref: http://stackoverflow.com/questions/2382764.
66- autopep8 ` git ls-files | grep " \.py$$ " `
63+ # # Run code formatters to correct style errors.
64+ format-style : $(shell git ls-files | grep "\.py$$")
65+ @# # Do not analyse .gitignored files.
66+ @# # `make` needs `$$` to output `$`.
67+ @# # See http://stackoverflow.com/questions/2382764.
68+ @printf " Running code formatters..."
69+ @autopep8 $?
70+ @echo ${OK}
6771
6872# # Run openfisca-core & country/extension template tests.
6973test : clean check-syntax-errors check-style check-types
You can’t perform that action at this time.
0 commit comments