Prepere repo so we can run auto formatters (#747)
* clang-format: Ignore javascript files Ignore javascript files. Clang-format is not very good formatter for javascript files anyway. If we ever need javascript formatter we should use Prettier. * clang-format: Ignore some lines in sources Couple things get formatted really funky if we let clang-format format those. Just ignore those locally. * zephyr/tescase.yaml: Fix yaml syntax pre-commit hook check-yaml did found out that there are two skips. Remove another as this is not right syntax. * Fix repo contains unicode replacement chars When running pre-commit text-unicode-replacement-char it founds that there is couple unicode replacemnt chars. Remove and replace these. * Convert some tabs to spaces manually We will soon auto format tabs to spaces. How ever it could not do couple thing so fix those by hand first. * Make files with shebang executables It is good habit that if file has shebang then it is marked executable. These where found with pre-commit check-shebang-scripts-are-executable checker. --------- Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
This commit is contained in:
+6
-1
@@ -130,7 +130,9 @@
|
||||
|
||||
/* BACAPP decodes WriteProperty service requests
|
||||
Choose the datatypes that your application supports */
|
||||
#if !(defined(BACAPP_ALL) || \
|
||||
/* clang-format off */
|
||||
#if !( \
|
||||
defined(BACAPP_ALL) || \
|
||||
defined(BACAPP_MINIMAL) || \
|
||||
defined(BACAPP_NULL) || \
|
||||
defined(BACAPP_BOOLEAN) || \
|
||||
@@ -166,6 +168,7 @@
|
||||
defined(BACAPP_TYPES_EXTRA))
|
||||
#define BACAPP_ALL
|
||||
#endif
|
||||
/* clang-format on */
|
||||
|
||||
#if defined (BACAPP_ALL)
|
||||
#define BACAPP_MINIMAL
|
||||
@@ -210,6 +213,7 @@
|
||||
#define BACAPP_SHED_LEVEL
|
||||
#endif
|
||||
|
||||
/* clang-format off */
|
||||
#if defined(BACAPP_DOUBLE) || \
|
||||
defined(BACAPP_DATETIME) || \
|
||||
defined(BACAPP_DATERANGE) || \
|
||||
@@ -231,6 +235,7 @@
|
||||
defined(BACAPP_SHED_LEVEL)
|
||||
#define BACAPP_COMPLEX_TYPES
|
||||
#endif
|
||||
/* clang-format on */
|
||||
|
||||
/*
|
||||
** Set the maximum vector type sizes
|
||||
|
||||
Reference in New Issue
Block a user