Skip to content

Commit 203ce1c

Browse files
author
Juliya Smith
authored
Add missing doc str periods (#181)
1 parent 715f0de commit 203ce1c

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/code42cli/cmds/departing_employee.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def bulk(state):
7676
@bulk.command(
7777
name="add",
7878
help="Bulk add users to the departing employees detection list using a CSV file with "
79-
"format: {}".format(",".join(DEPARTING_EMPLOYEE_CSV_HEADERS)),
79+
"format: {}.".format(",".join(DEPARTING_EMPLOYEE_CSV_HEADERS)),
8080
)
8181
@read_csv_arg(headers=DEPARTING_EMPLOYEE_CSV_HEADERS)
8282
@sdk_options()

src/code42cli/cmds/high_risk_employee.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def bulk(state):
103103
@bulk.command(
104104
name="add",
105105
help="Bulk add users to the high risk employees detection list using a CSV file with "
106-
"format: {}".format(",".join(HIGH_RISK_EMPLOYEE_CSV_HEADERS)),
106+
"format: {}.".format(",".join(HIGH_RISK_EMPLOYEE_CSV_HEADERS)),
107107
)
108108
@read_csv_arg(headers=HIGH_RISK_EMPLOYEE_CSV_HEADERS)
109109
@sdk_options()
@@ -122,8 +122,8 @@ def handle_row(username, cloud_alias, risk_tag, notes):
122122

123123
@bulk.command(
124124
name="remove",
125-
help="Bulk remove users from the high risk employees detection list using a line-separated "
126-
"file of usernames.",
125+
help="Bulk remove users from the high risk employees detection list using a line-separated file "
126+
"of usernames.",
127127
)
128128
@read_flat_file_arg
129129
@sdk_options()
@@ -142,7 +142,7 @@ def handle_row(username):
142142

143143
@bulk.command(
144144
name="add-risk-tags",
145-
help="Adds risk tags to users in bulk using a CSV file with format: {}".format(
145+
help="Adds risk tags to users in bulk using a CSV file with format: {}.".format(
146146
",".join(RISK_TAG_CSV_HEADERS)
147147
),
148148
)
@@ -161,7 +161,7 @@ def handle_row(username, tag):
161161

162162
@bulk.command(
163163
name="remove-risk-tags",
164-
help="Removes risk tags from users in bulk using a CSV file with format: {}".format(
164+
help="Removes risk tags from users in bulk using a CSV file with format: {}.".format(
165165
",".join(RISK_TAG_CSV_HEADERS)
166166
),
167167
)

src/code42cli/cmds/securitydata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@
127127
multiple=True,
128128
callback=searchopt.is_in_filter(f.ProcessOwner),
129129
cls=searchopt.AdvancedQueryAndSavedSearchIncompatible,
130-
help="Limits exposure events by process owner, as reported by the device’s operating system. Applies only to `Printed` and `Browser or app read` events",
130+
help="Limits exposure events by process owner, as reported by the device’s operating system. "
131+
"Applies only to `Printed` and `Browser or app read` events.",
131132
)
132133
tab_url_option = click.option(
133134
"--tab-url",

src/code42cli/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def server_options(f):
145145
"--protocol",
146146
type=click.Choice(ServerProtocol(), case_sensitive=False),
147147
default=ServerProtocol.UDP,
148-
help="Protocol used to send logs to server. Defaults to UDP",
148+
help="Protocol used to send logs to server. Defaults to UDP.",
149149
)
150150
f = hostname_arg(f)
151151
f = protocol_option(f)

0 commit comments

Comments
 (0)