diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2021-01-01 22:37:34 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-06 17:00:44 -0500 |
commit | f17584ca0ee4d6bbc0893c0a62a0dc2fa293d2b8 (patch) | |
tree | 31f3d5d4b0fdc2f43cc4595f709ea216d0d06ea5 /app/boards/shields | |
parent | 56ec200bae7610bae32c558cf1302b02d433471d (diff) |
chore: standardize # style headers
Changes made with regex plus some manual tweaks.
Find:
/(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm
Replace:
# Copyright (c) $1 $2
# SPDX-License-Identifier: $3
PR: #564
Diffstat (limited to 'app/boards/shields')
-rw-r--r-- | app/boards/shields/crbn/Kconfig.defconfig | 2 | ||||
-rw-r--r-- | app/boards/shields/crbn/Kconfig.shield | 2 | ||||
-rw-r--r-- | app/boards/shields/eek/Kconfig.defconfig | 3 | ||||
-rw-r--r-- | app/boards/shields/jorne/Kconfig.shield | 2 | ||||
-rw-r--r-- | app/boards/shields/m60/Kconfig.defconfig | 2 | ||||
-rw-r--r-- | app/boards/shields/m60/Kconfig.shield | 2 | ||||
-rw-r--r-- | app/boards/shields/quefrency/Kconfig.defconfig | 4 | ||||
-rw-r--r-- | app/boards/shields/splitreus62/Kconfig.defconfig | 4 |
8 files changed, 5 insertions, 16 deletions
diff --git a/app/boards/shields/crbn/Kconfig.defconfig b/app/boards/shields/crbn/Kconfig.defconfig index 378a3f8..2a5c8e3 100644 --- a/app/boards/shields/crbn/Kconfig.defconfig +++ b/app/boards/shields/crbn/Kconfig.defconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# if SHIELD_CRBN diff --git a/app/boards/shields/crbn/Kconfig.shield b/app/boards/shields/crbn/Kconfig.shield index c66f280..ceeb5f6 100644 --- a/app/boards/shields/crbn/Kconfig.shield +++ b/app/boards/shields/crbn/Kconfig.shield @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# config SHIELD_CRBN def_bool $(shields_list_contains,crbn) diff --git a/app/boards/shields/eek/Kconfig.defconfig b/app/boards/shields/eek/Kconfig.defconfig index 65d69b7..b84dd28 100644 --- a/app/boards/shields/eek/Kconfig.defconfig +++ b/app/boards/shields/eek/Kconfig.defconfig @@ -1,8 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors -# # SPDX-License-Identifier: MIT -# if SHIELD_EEK diff --git a/app/boards/shields/jorne/Kconfig.shield b/app/boards/shields/jorne/Kconfig.shield index 1176611..88fd4e5 100644 --- a/app/boards/shields/jorne/Kconfig.shield +++ b/app/boards/shields/jorne/Kconfig.shield @@ -1,4 +1,4 @@ -# Copyright (c) 2020 The ZMK Contributors +# Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT config SHIELD_JORNE_LEFT diff --git a/app/boards/shields/m60/Kconfig.defconfig b/app/boards/shields/m60/Kconfig.defconfig index e31d5a5..ad105ed 100644 --- a/app/boards/shields/m60/Kconfig.defconfig +++ b/app/boards/shields/m60/Kconfig.defconfig @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# if SHIELD_M60 diff --git a/app/boards/shields/m60/Kconfig.shield b/app/boards/shields/m60/Kconfig.shield index 47a28e2..4ed58c4 100644 --- a/app/boards/shields/m60/Kconfig.shield +++ b/app/boards/shields/m60/Kconfig.shield @@ -1,7 +1,5 @@ -# # Copyright (c) 2020 The ZMK Contributors # SPDX-License-Identifier: MIT -# config SHIELD_M60 def_bool $(shields_list_contains,m60) diff --git a/app/boards/shields/quefrency/Kconfig.defconfig b/app/boards/shields/quefrency/Kconfig.defconfig index b4041cb..5a7d964 100644 --- a/app/boards/shields/quefrency/Kconfig.defconfig +++ b/app/boards/shields/quefrency/Kconfig.defconfig @@ -1,5 +1,5 @@ -#Copyright (c) 2020 The ZMK Contributors -#SPDX-License-Identifier: MIT +# Copyright (c) 2020 The ZMK Contributors +# SPDX-License-Identifier: MIT if SHIELD_QUEFRENCY_LEFT diff --git a/app/boards/shields/splitreus62/Kconfig.defconfig b/app/boards/shields/splitreus62/Kconfig.defconfig index 988041c..26c2e93 100644 --- a/app/boards/shields/splitreus62/Kconfig.defconfig +++ b/app/boards/shields/splitreus62/Kconfig.defconfig @@ -1,6 +1,6 @@ -#Copyright (c) 2020 Derek Schmell -#SPDX-License-Identifier: MIT +# Copyright (c) 2020 Derek Schmell +# SPDX-License-Identifier: MIT if SHIELD_SPLITREUS62_LEFT |