Skip to content

Commit 8100442

Browse files
committed
feat: adjust session names in noxfile
1 parent 0701f13 commit 8100442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

{{cookiecutter.project_name}}/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# These sessions perform specific types of checks or builds.
3030
# Their names align with modular CI workflow files.
3131

32-
@nox.session(python=DEFAULT_PYTHON_VERSION)
32+
@nox.session(python=DEFAULT_PYTHON_VERSION, name="format-python")
3333
def format_python(session: Session) -> None:
3434
"""Run Python code formatter (Ruff format)."""
3535
session.log("Installing formatting dependencies...")
@@ -40,7 +40,7 @@ def format_python(session: Session) -> None:
4040
session.run("uv", "run", "ruff", "format", *session.posargs, external=True)
4141

4242

43-
@nox.session(python=DEFAULT_PYTHON_VERSION)
43+
@nox.session(python=DEFAULT_PYTHON_VERSION, name="lint-python")
4444
def lint_python(session: Session) -> None:
4545
"""Run Python code linters (Ruff check, Pydocstyle rules)."""
4646
session.log("Installing linting dependencies...")

0 commit comments

Comments
 (0)