Skip to content

Commit e2f66b1

Browse files
pre-commit-ci[bot]jugmac00
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9afc9cb commit e2f66b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tox/config/loader/ini/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def replacer(raw_: str, args_: ConfigLoadArgs) -> str:
7373
else:
7474
try:
7575
replaced = replace(conf, self, raw_, args_) # do replacements
76-
except Exception as exception: # noqa: BLE001
76+
except Exception as exception:
7777
if isinstance(exception, HandledError):
7878
raise
7979
name = self.core_section.key if args_.env_name is None else args_.env_name

tests/config/loader/ini/replace/test_replace_tox_env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_replace_within_section_chain_deep(caplog: LogCaptureFixture, tox_ini_co
6060
"a0 = 1",
6161
*(f"a{ix} = {{[vars]a{ix - 1}}}" for ix in range(1, depth + 1)),
6262
"[testenv:a]",
63-
"b = {[vars]a%s}" % depth,
63+
f"b = {{[vars]a{depth}}}",
6464
],
6565
),
6666
)

0 commit comments

Comments
 (0)