Skip to content

Commit 5a79b5f

Browse files
fix: fix formatting errors detected by Ruff.
1 parent b3e2acc commit 5a79b5f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/pkg_infra/config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ def resolve_config_paths() -> dict[str, Path | None]:
100100
user_dir = Path(platformdirs.user_config_dir('pkg_infra'))
101101
env_value = os.environ.get(ENV_VARIABLE_DEFAULT_CONFIG)
102102
if env_value is None:
103-
logger.debug('Env var %s not set; skipping env config', ENV_VARIABLE_DEFAULT_CONFIG)
103+
logger.debug(
104+
'Env var %s not set; skipping env config',
105+
ENV_VARIABLE_DEFAULT_CONFIG,
106+
)
104107

105108
paths = {
106109
'ecosystem': ecosystem_dir / ECOSYSTEM_CONFIG_FILENAME,

src/pkg_infra/logger.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ def configure_loggers_from_omegaconf(
112112
filename = handler.get('filename')
113113
if filename:
114114
Path(filename).parent.mkdir(parents=True, exist_ok=True)
115-
logger.debug('Ensured log directory exists: %s', Path(filename).parent)
115+
logger.debug(
116+
'Ensured log directory exists: %s', Path(filename).parent
117+
)
116118

117119
# Create the loggers listed in the config file
118120
dictConfig(log_cfg)

0 commit comments

Comments
 (0)