coreboot/util/lint
Ariel Otilibili 845bdef386 util/lint: Clear syntax warnings in Python 3.12
Since Python 3.12, invalid escape sequences produce a SyntaxWarning;
in the future, they will produce SyntaxError.

Using raw strings clear out the warning.

Below the command used for checking the fix worked.

```
$ python3 util/lint/checkpatch_json.py
```

Link: https://docs.python.org/3.12/whatsnew/3.12.html#other-language-changes
Change-Id: I0177dc7f0d3013759879320afdb6ab548d356bc7
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85771
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
2025-01-17 00:34:29 +00:00
..
check-style
check_lint_tests
checkpatch.pl lint/checkpatch: Add __aligned to the list of attribute notes 2025-01-10 13:46:38 +00:00
checkpatch_json.py util/lint: Clear syntax warnings in Python 3.12 2025-01-17 00:34:29 +00:00
const_structs.checkpatch
coreboot.dict
description.md
helper_functions.sh
kconfig_lint util/lint: Use bigint for hexadecimal values in handle_range 2024-10-01 21:35:20 +00:00
kconfig_lint_README
lint util/lint/lint: Fix shellcheck errors in getopt support for darwin 2024-03-17 08:26:00 +00:00
lint-000-license-headers util: Break up spdx identifier text in scripts & makefiles 2024-06-19 17:42:43 +00:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch lib/jpeg: Replace decoder with Wuffs' implementation 2023-12-13 16:17:34 +00:00
lint-008-kconfig
lint-014-qualified-types
lint-extended-007-checkpatch
lint-extended-015-final-newlines util/lint/lint-final-newlines: Supply dirs in row 2024-09-11 13:39:24 +00:00
lint-extended-020-signed-off-by
lint-stable-000-license-headers
lint-stable-003-whitespace lint-stable-003-whitespace: Exclude DTB files 2024-05-27 08:02:26 +00:00
lint-stable-004-style-labels lib/jpeg: Replace decoder with Wuffs' implementation 2023-12-13 16:17:34 +00:00
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig
lint-stable-009-old-licenses util/lint: Exclude .apcb files from various checks 2023-12-17 18:43:07 +00:00
lint-stable-010-asm-syntax
lint-stable-012-executable-bit
lint-stable-013-site-local
lint-stable-016-non-ascii
lint-stable-017-configs
lint-stable-018-symlinks
lint-stable-019-header-files
lint-stable-021-coreboot-lowercase
lint-stable-022-clang-format
lint-stable-023-filenames
lint-stable-024-kconfig-no-subsystem
lint-stable-026-line-endings
lint-stable-027-maintainers-syntax
lint-stable-028-touchpad-probed-warning
lint-stable-029-kconfig-name-selects util/lint: Add linter to keep selects out of Kconfig.name 2023-11-18 01:58:24 +00:00
lint-stable-030-makefile-inc util/lint: Add lint rule to watch for Makefile.inc 2024-04-20 21:08:36 +00:00
Makefile
remccoms3.sed
spelling.txt util/lint: Fix some mistakes in spelling.txt 2023-11-01 15:26:57 +00:00