Skip to content

Commit f3e7cd2

Browse files
committed
ruff formatted
1 parent cb2ed6f commit f3e7cd2

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/requestcompletion/run.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import asyncio
2-
import json
3-
import os.path
42
from pathlib import Path
53

64
from .interaction.call import call
@@ -118,13 +116,15 @@ def __exit__(self, exc_type, exc_val, exc_tb):
118116
if self.executor_config.save_state:
119117
try:
120118
covailence_dir = Path(".covailence")
121-
covailence_dir.mkdir(exist_ok=True) # Creates if doesn't exist, skips otherwise.
119+
covailence_dir.mkdir(
120+
exist_ok=True
121+
) # Creates if doesn't exist, skips otherwise.
122122

123-
file_path = covailence_dir / f"{self.executor_config.run_identifier}.json"
123+
file_path = (
124+
covailence_dir / f"{self.executor_config.run_identifier}.json"
125+
)
124126
if file_path.exists():
125-
logger.warning(
126-
"File %s already exists, overwriting it with the current execution info." % file_path
127-
)
127+
logger.warning("File %s already exists, overwriting..." % file_path)
128128

129129
logger.info("Saving execution info to %s" % file_path)
130130

0 commit comments

Comments
 (0)