Skip to content

Commit

Permalink
Apply pre-commit code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Sep 26, 2024
1 parent a272272 commit c37fd92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/zc/recipe/testrunner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ def install(self):
self.buildout['buildout']['bin-directory'],
extra_paths=self.egg.extra_paths,
arguments=defaults + (
'[\n' +
''.join((" '--test-path', %s,\n" % p)
for p in test_paths)
+ ' ]'),
'[\n' +
''.join((" '--test-path', %s,\n" % p)
for p in test_paths)
+ ' ]'),
initialization=initialization,
relative_paths=self.egg._relative_paths,
))
))

return dest

Expand Down
2 changes: 1 addition & 1 deletion src/zc/recipe/testrunner/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def setUp(test):
# Ignore warnings for Python <= 3.10:
(re.compile(r'.*warnings.warn\(\n'), ''),
# Ignore Setuptools warnings:
(lambda s: s.replace('*'*80, '')),
(lambda s: s.replace('*' * 80, '')),
(lambda s: s.replace('!!\n', '')),
(lambda s: s.replace(
'Please avoid running ``setup.py`` and ``easy_install``.', '')),
Expand Down

0 comments on commit c37fd92

Please sign in to comment.