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] authored and GeigerJ2 committed Feb 13, 2025
1 parent a71de42 commit 074b053
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/aiida/cmdline/commands/cmd_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def profile_mirror(
echo.echo_report(dry_run_message)
return

if num_processes_to_dump == 0:
if num_processes_to_dump == 0:
echo.echo_success('No processes to dump.')
else:
profile_dumper.dump_processes()
Expand All @@ -449,4 +449,3 @@ def profile_mirror(

# Write the logging json file to disk
dump_logger.save_log()

3 changes: 0 additions & 3 deletions src/aiida/tools/dumping/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
# For further information please visit http://www.aiida.net #
###########################################################################

from datetime import datetime
from pathlib import Path

from aiida.tools.dumping.config import BaseDumpConfig
from aiida.tools.dumping.logger import DumpLogger
Expand All @@ -22,7 +20,6 @@ def __init__(
base_dump_config: BaseDumpConfig | None = None,
dump_logger: DumpLogger | None = None,
):

self.base_dump_config = base_dump_config or BaseDumpConfig()

# Unpack values for direct access
Expand Down

0 comments on commit 074b053

Please sign in to comment.