Skip to content

Commit 4ff5b49

Browse files
committed
fix: fix variable name in the Nox configuration file
1 parent 4bf86d8 commit 4ff5b49

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelog.d/+8c24e077.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix variable name in `noxfile.py`.

template/{% if tasks == 'nox' %}noxfile.py{% endif %}.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def tests(session: nox.Session) -> None:
5757
)
5858
{%- endif %}
5959
tmp_dir = Path(session.create_tmp())
60-
work_dir = tmp_path.parents[1]
60+
work_dir = tmp_dir.parents[1]
6161
junit_xml_path = work_dir / f"junit-{session.python}.xml"
6262
htmlcov_dir = tmp_dir / "htmlcov"
6363
coverage_xml_path = work_dir / f"coverage-{session.python}.xml"

0 commit comments

Comments
 (0)