aboutsummaryrefslogtreecommitdiff
path: root/scripts/code-format.py
diff options
context:
space:
mode:
authorguoweilkd <guowei15@xiaomi.com>2021-11-25 03:19:09 +0800
committerGitHub <noreply@github.com>2021-11-24 20:19:09 +0100
commit81f7d50c452d0fd1f6bef69c51442652ad063fa1 (patch)
treeb071243da4972a727fae2dea7f5df1ec112be39d /scripts/code-format.py
parent67915225884bed766a974c62812c775b914e19a4 (diff)
downloadlvgl-81f7d50c452d0fd1f6bef69c51442652ad063fa1.tar.gz
lvgl-81f7d50c452d0fd1f6bef69c51442652ad063fa1.zip
feat(freetype): support bold and italic (#2824)
* feat(freetype):support bold and italic * fix(format): replace code-format.sh with code-format.py Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Diffstat (limited to 'scripts/code-format.py')
-rwxr-xr-xscripts/code-format.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/code-format.py b/scripts/code-format.py
new file mode 100755
index 000000000..f7e65e7f4
--- /dev/null
+++ b/scripts/code-format.py
@@ -0,0 +1,5 @@
+#!/usr/bin/env python3
+
+import os
+
+os.system('astyle --options=code-format.cfg "../src/*.c,*.h"')