|
|
|
@ -9,7 +9,7 @@ PY_FILES = $(shell find . -type f -name '*.py' | grep -f ./tools/style.py.incl
|
|
|
|
|
C_FILES = $(shell find . -type f -name '*.[ch]' | grep -f ./tools/style.c.include | grep -v -f ./tools/style.c.exclude )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
style_check: pystyle_check cstyle_check changelog_check yaml_check ## run all style checks (C+Py)
|
|
|
|
|
style_check: pystyle_check cstyle_check changelog_check yaml_check editor_check ## run all style checks (C+Py)
|
|
|
|
|
|
|
|
|
|
style: pystyle cstyle changelog ## apply all code styles (C+Py)
|
|
|
|
|
|
|
|
|
@ -45,6 +45,9 @@ changelog_check: ## check changelog format
|
|
|
|
|
yaml_check: ## check yaml formatting
|
|
|
|
|
yamllint .
|
|
|
|
|
|
|
|
|
|
editor_check: ## check editorconfig formatting
|
|
|
|
|
editorconfig-checker -exclude '.*\.(so|dat|toif|der)'
|
|
|
|
|
|
|
|
|
|
changelog: ## fill out issue links in changelog
|
|
|
|
|
./tools/linkify-changelogs.py
|
|
|
|
|
|
|
|
|
|