Skip to content

Commit e6d64a9

Browse files
committed
minor lint polishing
[ghstack-poisoned]
2 parents f7130e0 + c23ad70 commit e6d64a9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

runtime/platform/test/CMakeLists.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ et_cxx_test(
2929
executor_pal_static_runtime_override_test.cpp
3030
)
3131

32-
# TODO: Re-enable this test on OSS et_cxx_test(platform_death_test SOURCES
33-
# executor_pal_death_test.cpp)
32+
# TODO: Re-enable this test on OSS
33+
#
34+
# et_cxx_test(platform_death_test SOURCES executor_pal_death_test.cpp)
3435

3536
et_cxx_test(logging_test SOURCES logging_test.cpp)
3637

37-
# TODO: Re-enable this test on OSS et_cxx_test(clock_test SOURCES clock_test.cpp
38-
# stub_platform.cpp)
38+
# TODO: Re-enable this test on OSS
39+
#
40+
# et_cxx_test(clock_test SOURCES clock_test.cpp stub_platform.cpp)

tools/linter/adapters/cmake_format_linter.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
import sys
1111

1212
from lintrunner_adapters import (
13-
LintMessage,
14-
LintSeverity,
1513
add_default_options,
1614
as_posix,
15+
LintMessage,
16+
LintSeverity,
1717
run_command,
1818
)
1919

@@ -121,9 +121,7 @@ def main() -> None:
121121
level=(
122122
logging.NOTSET
123123
if args.verbose
124-
else logging.DEBUG
125-
if len(args.filenames) < 1000
126-
else logging.INFO
124+
else logging.DEBUG if len(args.filenames) < 1000 else logging.INFO
127125
),
128126
stream=sys.stderr,
129127
)

0 commit comments

Comments
 (0)