Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 9, 2024
1 parent 4d5c304 commit fa6cc4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nemo_cmd/deflate.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ def _poll_and_launch(jobs, jobs_in_progress):
for running_job in jobs_in_progress.copy().values():
if running_job.done:
result, _ = running_job.process.communicate()
logger.error(result) if result else logger.info(
f"netCDF4 deflated {running_job.filepath}"
(

Check warning on line 170 in nemo_cmd/deflate.py

View check run for this annotation

Codecov / codecov/patch

nemo_cmd/deflate.py#L170

Added line #L170 was not covered by tests
logger.error(result)
if result
else logger.info(f"netCDF4 deflated {running_job.filepath}")
)
jobs_in_progress.pop(running_job.pid)
try:
Expand Down

0 comments on commit fa6cc4d

Please sign in to comment.