Skip to content

Commit 4cad812

Browse files
author
Alex MacLean
committed
Fix linting errors.
1 parent b7a4469 commit 4cad812

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/logging.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,8 @@ static const char * expand_severity_with_color(
15411541
return NULL;
15421542
}
15431543

1544-
// If the severity is 4 characters long, add another space to line it up with the 5 character severities.
1544+
// If the severity is 4 characters long, add another space to line it up with
1545+
// the 5 character severities.
15451546
if (strlen(severity_string) == 4) {
15461547
if (rcutils_char_array_strcat(logging_output, " ") != RCUTILS_RET_OK) {
15471548
RCUTILS_SAFE_FWRITE_TO_STDERR(rcutils_get_error_string().str);

test/test_logging_severity_with_color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
@launch_testing.markers.keep_alive
2929
def generate_test_description():
30-
test_process_name='test_logging_severity_with_color'
30+
test_process_name = 'test_logging_severity_with_color'
3131
launch_description = LaunchDescription()
3232
# Set the output format to a "verbose" format that is expected by the executable output
3333
launch_description.add_action(
@@ -60,7 +60,7 @@ def generate_test_description():
6060
class TestLoggingSeverityWithColor(unittest.TestCase):
6161

6262
def test_wait_for_shutdown(self, proc_info, proc_output, process_name):
63-
"""Wait for the process to complete so that the log messages will be available to inspect."""
63+
"""Wait for the process to complete so the log messages will be available to inspect."""
6464
proc_info.assertWaitForShutdown(process=process_name, timeout=10)
6565

6666

0 commit comments

Comments
 (0)