Skip to content

Commit 15a8242

Browse files
committed
Add exception for LOG015
1 parent 458b3d8 commit 15a8242

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config/esp32/components/chip/create_args_gn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_compile_flags(src_file):
5050
]
5151

5252
if len(compile_command) != 1:
53-
raise Exception("Failed to resolve compile flags for %s" % src_file)
53+
raise Exception(f"Failed to resolve compile flags for {src_file}")
5454

5555
compile_command = compile_command[0]
5656
# Trim compiler, input and output

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ select = [
3737
"SLOT",
3838
]
3939
ignore = [
40-
"COM812", # Do not enforce trailing commas in multi-line collections
40+
"COM812", # Do not enforce trailing commas in multi-line collections for now
41+
"LOG015", # Do not enforce non-root loggers in the entire codebase for now
4142
"E501", # Do not report line length issues (formatter should handle this)
4243
"E721", # We use it for good reasons
4344
]

0 commit comments

Comments
 (0)