Skip to content

Commit d84179c

Browse files
committed
Fix style issues
1 parent 5a746f2 commit d84179c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

lib/pavilion/cmd_utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ def get_collection_path(pav_cfg, collection) -> Union[Path, None]:
321321
return None
322322

323323

324-
def test_list_to_paths(pav_cfg: config.PavConfig, req_tests: List, errfile: Optional[Path] = None) -> List[Path]:
324+
def test_list_to_paths(pav_cfg: config.PavConfig, req_tests: List,
325+
errfile: Optional[Path] = None) -> List[Path]:
325326
"""Given a list of raw test id's and series id's, return a list of paths
326327
to those tests.
327328
The keyword 'last' may also be given to get the last series run by

lib/pavilion/errors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __str__(self):
5656
def _wrap_lines(lines: List[str], width: int) -> List[str]:
5757
"""Given a list of lines, produce a new list of lines wrapped to the specified width."""
5858

59-
lines = map(lambda x: textwrap.wrap(x, width=width), lines)
59+
lines = map(lambda x: textwrap.wrap(x, width=width), lines)
6060

6161
return list(flatten(lines))
6262

lib/pavilion/series/test_set.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,15 @@ def make_iter(self, build_only: bool = False, rebuild: bool = False,
238238
for error in cfg_resolver.errors:
239239
if error.request is not None:
240240
self.status.set(S_STATES.ERROR,
241-
'{} - {}'.format(error.request.request, error.pformat(show_tracebacks)))
241+
'{} - {}'.format(
242+
error.request.request,
243+
error.pformat(show_tracebacks)))
242244

243245
output.fprint(
244246
self.outfile,
245-
"{} - {}".format(error.request.request, error.pformat(show_tracebacks)))
247+
"{} - {}".format(
248+
error.request.request,
249+
error.pformat(show_tracebacks)))
246250
else:
247251
self.status.set(S_STATES.ERROR, error.pformat())
248252
output.fprint(

0 commit comments

Comments
 (0)