summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-09-22 08:58:06 +0800
committerGitHub <[email protected]>2021-09-22 08:58:06 +0800
commit894171952e180f4069f75af34c53a8a732900999 (patch)
tree408f3231d3d0832521f001a095a4384946c43892
parent13b0b60b1466b4a3eae34b5437ff35432de32c5e (diff)
parentd6b60300a5953555d988947633fc8c19a5080ea0 (diff)
Merge pull request #5083 from mysterywolf/ignore
[.ignore_format] 将ignore_format分散到各个文件夹中,不必集中在根目录下
-rw-r--r--.ignore_format.yml25
-rw-r--r--bsp/fm33lc026/.ignore_format.yml6
-rw-r--r--bsp/mm32f327x/.ignore_format.yml6
-rw-r--r--bsp/stm32/libraries/.ignore_format.yml15
-rw-r--r--components/net/.ignore_format.yml9
-rw-r--r--tools/.ignore_format.yml6
6 files changed, 42 insertions, 25 deletions
diff --git a/.ignore_format.yml b/.ignore_format.yml
deleted file mode 100644
index 5e3780d203..0000000000
--- a/.ignore_format.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-file_path:
-- bsp/allwinner_tina/libcpu/cpu.c
-
-dir_path:
-- tools
-- components/net/lwip-1.4.1
-- components/net/lwip-2.0.2
-- components/net/lwip-2.0.3
-- components/net/lwip-2.1.2
-- bsp/mm32f327x/Libraries
-- bsp/fm33lc026/libraries
-- bsp/stm32/libraries/STM32F0xx_HAL
-- bsp/stm32/libraries/STM32F2xx_HAL
-- bsp/stm32/libraries/STM32F4xx_HAL
-- bsp/stm32/libraries/STM32F7xx_HAL
-- bsp/stm32/libraries/STM32G0xx_HAL
-- bsp/stm32/libraries/STM32G4xx_HAL
-- bsp/stm32/libraries/STM32L4xx_HAL
-- bsp/stm32/libraries/STM32MPxx_HAL
-- bsp/stm32/libraries/STM32WBxx_HAL
-- bsp/stm32/libraries/STM32H7xx_HAL
diff --git a/bsp/fm33lc026/.ignore_format.yml b/bsp/fm33lc026/.ignore_format.yml
new file mode 100644
index 0000000000..29b7c31648
--- /dev/null
+++ b/bsp/fm33lc026/.ignore_format.yml
@@ -0,0 +1,6 @@
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+dir_path:
+- libraries
diff --git a/bsp/mm32f327x/.ignore_format.yml b/bsp/mm32f327x/.ignore_format.yml
new file mode 100644
index 0000000000..ff3a08fd8a
--- /dev/null
+++ b/bsp/mm32f327x/.ignore_format.yml
@@ -0,0 +1,6 @@
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+dir_path:
+- bsp/mm32f327x/Libraries
diff --git a/bsp/stm32/libraries/.ignore_format.yml b/bsp/stm32/libraries/.ignore_format.yml
new file mode 100644
index 0000000000..45963305ed
--- /dev/null
+++ b/bsp/stm32/libraries/.ignore_format.yml
@@ -0,0 +1,15 @@
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+dir_path:
+- STM32F0xx_HAL
+- STM32F2xx_HAL
+- STM32F4xx_HAL
+- STM32F7xx_HAL
+- STM32G0xx_HAL
+- STM32G4xx_HAL
+- STM32L4xx_HAL
+- STM32MPxx_HAL
+- STM32WBxx_HAL
+- STM32H7xx_HAL
diff --git a/components/net/.ignore_format.yml b/components/net/.ignore_format.yml
new file mode 100644
index 0000000000..20c40e6436
--- /dev/null
+++ b/components/net/.ignore_format.yml
@@ -0,0 +1,9 @@
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+dir_path:
+- lwip-1.4.1
+- lwip-2.0.2
+- lwip-2.0.3
+- lwip-2.1.2
diff --git a/tools/.ignore_format.yml b/tools/.ignore_format.yml
new file mode 100644
index 0000000000..1f570ebae6
--- /dev/null
+++ b/tools/.ignore_format.yml
@@ -0,0 +1,6 @@
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+dir_path:
+- kconfig-frontends