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:
Kari Argillander
2024-08-24 01:58:41 +03:00
committed by GitHub
parent 36b5a3be98
commit 9e0657424e
26 changed files with 84 additions and 77 deletions
+11 -13
View File
@@ -11,16 +11,14 @@ rsource "object/Kconfig"
rsource "server/Kconfig"
config BACNET_SHELL
bool "BACnet Shell"
default n
select SHELL
select CONSOLE
select KERNEL_SHELL
select THREAD_MONITOR
select THREAD_NAME
select DEVICE_SHELL
select LOG
help
Enable BACnet Shell support
bool "BACnet Shell"
default n
select SHELL
select CONSOLE
select KERNEL_SHELL
select THREAD_MONITOR
select THREAD_NAME
select DEVICE_SHELL
select LOG
help
Enable BACnet Shell support
@@ -1,6 +1,5 @@
common:
skip: true # TODO: Remove skip when zephyr v3.0.0 nested <time.h> conflicting definitions resolved.
skip: true #TODO: debug test for Zephyr v3.2.0
tests:
bacnet.datalink.bvlc.unit:
tags: bacnet