Skip to content

Commit aa32cb7

Browse files
committed
Fix linter 2
Signed-off-by: Denisa <[email protected]>
1 parent 71914e3 commit aa32cb7

File tree

2 files changed

+88
-89
lines changed

2 files changed

+88
-89
lines changed

fastddsspy_tool/test/application/test_cases/tool_help.py

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -37,48 +37,48 @@ def __init__(self):
3737
arguments_dds=[],
3838
arguments_spy=[],
3939
commands_spy=['help'],
40-
output = (
41-
"Fast DDS Spy is an interactive CLI that allow to instrospect DDS networks.\n\n"
42-
"Each command shows data related with the network in Yaml format.\n\n"
43-
"Commands available and the information they show:\n\n"
44-
"\thelp : this help.\n\n"
45-
"\tversion : tool version.\n\n"
46-
"\tquit : exit interactive CLI and close program.\n\n"
47-
"\tparticipants : DomainParticipants discovered in the network.\n\n"
48-
"\tparticipants verbose : verbose information about DomainParticipants "
49-
"discovered in the network.\n\n"
50-
"\tparticipants <Guid> : verbose information related with a specific "
51-
"DomainParticipant.\n\n"
52-
"\twriters : DataWriters discovered in the network.\n\n"
53-
"\twriters verbose : verbose information about DataWriters discovered "
54-
"in the network.\n\n"
55-
"\twriters <Guid> : verbose information related with a specific "
56-
"DataWriter.\n\n"
57-
"\treader : DataReaders discovered in the network.\n\n"
58-
"\treader verbose : verbose information about DataReaders discovered "
59-
"in the network.\n\n"
60-
"\treader <Guid> : verbose information related with a specific "
61-
"DataReader.\n\n"
62-
"\ttopics : Topics discovered in the network in compact format.\n\n"
63-
"\ttopics v : Topics discovered in the network.\n\n"
64-
"\ttopics vv : verbose information about Topics discovered "
65-
"in the network.\n\n"
66-
"\ttopics <name> : Topics discovered in the network filtered by name "
67-
"(wildcard allowed (*)).\n\n"
68-
"\techo <name> : data of a specific Topic (Data Type must be discovered).\n\n"
69-
"\techo <wildcard_name> : data of Topics matching the wildcard name "
70-
"(and whose Data Type is discovered).\n\n"
71-
"\techo <name> verbose : data with additional source info of a specific Topic.\n\n"
72-
"\techo <wildcard_name> verbose : data with additional source info of Topics matching the "
73-
"topic name (wildcard allowed (*)).\n\n"
74-
"\techo all : verbose data of all topics (only those whose "
75-
"Data Type is discovered).\n\n"
76-
"\n\n"
77-
"Notes and comments:\n\n"
78-
"\tTo exit from data printing, press enter.\n\n"
79-
"\tEach command is accessible by using its first letter (h/v/q/p/w/r/t/s).\n\n"
80-
"\n\n"
81-
"For more information about these commands and formats, please refer to the documentation:\n\n"
82-
"https://fast-dds-spy.readthedocs.io/en/latest/\n"
83-
)
40+
output=(
41+
'Fast DDS Spy is an interactive CLI that allow to instrospect DDS networks.\n\n'
42+
'Each command shows data related with the network in Yaml format.\n\n'
43+
'Commands available and the information they show:\n\n'
44+
'\thelp : this help.\n\n'
45+
'\tversion : tool version.\n\n'
46+
'\tquit : exit interactive CLI and close program.\n\n'
47+
'\tparticipants : DomainParticipants discovered in the network.\n\n'
48+
'\tparticipants verbose : verbose information about DomainParticipants '
49+
'discovered in the network.\n\n'
50+
'\tparticipants <Guid> : verbose information related with a specific '
51+
'DomainParticipant.\n\n'
52+
'\twriters : DataWriters discovered in the network.\n\n'
53+
'\twriters verbose : verbose information about DataWriters discovered '
54+
'in the network.\n\n'
55+
'\twriters <Guid> : verbose information related with a specific '
56+
'DataWriter.\n\n'
57+
'\treader : DataReaders discovered in the network.\n\n'
58+
'\treader verbose : verbose information about DataReaders discovered '
59+
'in the network.\n\n'
60+
'\treader <Guid> : verbose information related with a specific '
61+
'DataReader.\n\n'
62+
'\ttopics : Topics discovered in the network in compact format.\n\n'
63+
'\ttopics v : Topics discovered in the network.\n\n'
64+
'\ttopics vv : verbose information about Topics discovered '
65+
'in the network.\n\n'
66+
'\ttopics <name> : Topics discovered in the network filtered by name '
67+
'(wildcard allowed (*)).\n\n'
68+
'\techo <name> : data of a specific Topic (Data Type must be discovered).\n\n'
69+
'\techo <wildcard_name> : data of Topics matching the wildcard name '
70+
'(and whose Data Type is discovered).\n\n'
71+
'\techo <name> verbose : data with additional source info of a specific Topic.\n\n'
72+
'\techo <wildcard_name> verbose : data with additional source info of Topics matching the '
73+
'topic name (wildcard allowed (*)).\n\n'
74+
'\techo all : verbose data of all topics (only those whose '
75+
'Data Type is discovered).\n\n'
76+
'\n\n'
77+
'Notes and comments:\n\n'
78+
'\tTo exit from data printing, press enter.\n\n'
79+
'\tEach command is accessible by using its first letter (h/v/q/p/w/r/t/s).\n\n'
80+
'\n\n'
81+
'For more information about these commands and formats, please refer to the documentation:\n\n'
82+
'https://fast-dds-spy.readthedocs.io/en/latest/\n'
83+
)
8484
)

fastddsspy_tool/test/application/test_cases/tool_help_dds.py

Lines changed: 44 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -40,49 +40,48 @@ def __init__(self):
4040
arguments_dds=[],
4141
arguments_spy=['--config-path', 'configuration'],
4242
commands_spy=['help'],
43-
output = (
44-
"Fast DDS Spy is an interactive CLI that allow to instrospect DDS networks.\n\n"
45-
"Each command shows data related with the network in Yaml format.\n\n"
46-
"Commands available and the information they show:\n\n"
47-
"\thelp : this help.\n\n"
48-
"\tversion : tool version.\n\n"
49-
"\tquit : exit interactive CLI and close program.\n\n"
50-
"\tparticipants : DomainParticipants discovered in the network.\n\n"
51-
"\tparticipants verbose : verbose information about DomainParticipants "
52-
"discovered in the network.\n\n"
53-
"\tparticipants <Guid> : verbose information related with a specific "
54-
"DomainParticipant.\n\n"
55-
"\twriters : DataWriters discovered in the network.\n\n"
56-
"\twriters verbose : verbose information about DataWriters discovered "
57-
"in the network.\n\n"
58-
"\twriters <Guid> : verbose information related with a specific "
59-
"DataWriter.\n\n"
60-
"\treader : DataReaders discovered in the network.\n\n"
61-
"\treader verbose : verbose information about DataReaders discovered "
62-
"in the network.\n\n"
63-
"\treader <Guid> : verbose information related with a specific "
64-
"DataReader.\n\n"
65-
"\ttopics : Topics discovered in the network in compact format.\n\n"
66-
"\ttopics v : Topics discovered in the network.\n\n"
67-
"\ttopics vv : verbose information about Topics discovered "
68-
"in the network.\n\n"
69-
"\ttopics <name> : Topics discovered in the network filtered by name "
70-
"(wildcard allowed (*)).\n\n"
71-
"\techo <name> : data of a specific Topic (Data Type must be discovered).\n\n"
72-
"\techo <wildcard_name> : data of Topics matching the wildcard name "
73-
"(and whose Data Type is discovered).\n\n"
74-
"\techo <name> verbose : data with additional source info of a specific Topic.\n\n"
75-
"\techo <wildcard_name> verbose : data with additional source info of Topics matching the "
76-
"topic name (wildcard allowed (*)).\n\n"
77-
"\techo all : verbose data of all topics (only those whose "
78-
"Data Type is discovered).\n\n"
79-
"\n\n"
80-
"Notes and comments:\n\n"
81-
"\tTo exit from data printing, press enter.\n\n"
82-
"\tEach command is accessible by using its first letter (h/v/q/p/w/r/t/s).\n\n"
83-
"\n\n"
84-
"For more information about these commands and formats, please refer to the documentation:\n\n"
85-
"https://fast-dds-spy.readthedocs.io/en/latest/\n"
86-
)
87-
43+
output=(
44+
'Fast DDS Spy is an interactive CLI that allow to instrospect DDS networks.\n\n'
45+
'Each command shows data related with the network in Yaml format.\n\n'
46+
'Commands available and the information they show:\n\n'
47+
'\thelp : this help.\n\n'
48+
'\tversion : tool version.\n\n'
49+
'\tquit : exit interactive CLI and close program.\n\n'
50+
'\tparticipants : DomainParticipants discovered in the network.\n\n'
51+
'\tparticipants verbose : verbose information about DomainParticipants '
52+
'discovered in the network.\n\n'
53+
'\tparticipants <Guid> : verbose information related with a specific '
54+
'DomainParticipant.\n\n'
55+
'\twriters : DataWriters discovered in the network.\n\n'
56+
'\twriters verbose : verbose information about DataWriters discovered '
57+
'in the network.\n\n'
58+
'\twriters <Guid> : verbose information related with a specific '
59+
'DataWriter.\n\n'
60+
'\treader : DataReaders discovered in the network.\n\n'
61+
'\treader verbose : verbose information about DataReaders discovered '
62+
'in the network.\n\n'
63+
'\treader <Guid> : verbose information related with a specific '
64+
'DataReader.\n\n'
65+
'\ttopics : Topics discovered in the network in compact format.\n\n'
66+
'\ttopics v : Topics discovered in the network.\n\n'
67+
'\ttopics vv : verbose information about Topics discovered '
68+
'in the network.\n\n'
69+
'\ttopics <name> : Topics discovered in the network filtered by name '
70+
'(wildcard allowed (*)).\n\n'
71+
'\techo <name> : data of a specific Topic (Data Type must be discovered).\n\n'
72+
'\techo <wildcard_name> : data of Topics matching the wildcard name '
73+
'(and whose Data Type is discovered).\n\n'
74+
'\techo <name> verbose : data with additional source info of a specific Topic.\n\n'
75+
'\techo <wildcard_name> verbose : data with additional source info of Topics matching the '
76+
'topic name (wildcard allowed (*)).\n\n'
77+
'\techo all : verbose data of all topics (only those whose '
78+
'Data Type is discovered).\n\n'
79+
'\n\n'
80+
'Notes and comments:\n\n'
81+
'\tTo exit from data printing, press enter.\n\n'
82+
'\tEach command is accessible by using its first letter (h/v/q/p/w/r/t/s).\n\n'
83+
'\n\n'
84+
'For more information about these commands and formats, please refer to the documentation:\n\n'
85+
'https://fast-dds-spy.readthedocs.io/en/latest/\n'
86+
)
8887
)

0 commit comments

Comments
 (0)