@@ -128,11 +128,11 @@ def parse_config_file(options: Options, filename: Optional[str],
128
128
prefix = '%s: [%s]: ' % (file_read , name )
129
129
updates , report_dirs = parse_section (prefix , options , section , stderr )
130
130
if report_dirs :
131
- print ("%s: Per -module sections should not specify reports (%s)" %
131
+ print ("%sPer -module sections should not specify reports (%s)" %
132
132
(prefix , ', ' .join (s + '_report' for s in sorted (report_dirs ))),
133
133
file = stderr )
134
134
if set (updates ) - PER_MODULE_OPTIONS :
135
- print ("%s: Per -module sections should only specify per-module flags (%s)" %
135
+ print ("%sPer -module sections should only specify per-module flags (%s)" %
136
136
(prefix , ', ' .join (sorted (set (updates ) - PER_MODULE_OPTIONS ))),
137
137
file = stderr )
138
138
updates = {k : v for k , v in updates .items () if k in PER_MODULE_OPTIONS }
@@ -145,7 +145,7 @@ def parse_config_file(options: Options, filename: Optional[str],
145
145
146
146
if (any (c in glob for c in '?[]!' ) or
147
147
any ('*' in x and x != '*' for x in glob .split ('.' ))):
148
- print ("%s: Patterns must be fully-qualified module names, optionally "
148
+ print ("%sPatterns must be fully-qualified module names, optionally "
149
149
"with '*' in some components (e.g spam.*.eggs.*)"
150
150
% prefix ,
151
151
file = stderr )
@@ -199,7 +199,7 @@ def parse_section(prefix: str, template: Options,
199
199
print ("%s%s: %s" % (prefix , key , err ), file = stderr )
200
200
continue
201
201
else :
202
- print ("%s: Don 't know what type %s should have" % (prefix , key ), file = stderr )
202
+ print ("%sDon 't know what type %s should have" % (prefix , key ), file = stderr )
203
203
continue
204
204
except ValueError as err :
205
205
print ("%s%s: %s" % (prefix , key , err ), file = stderr )
0 commit comments