Skip to content

Commit

Permalink
Fix command parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen committed Dec 11, 2023
1 parent 1eda803 commit 2fb1e56
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from pathlib import Path
from tempfile import NamedTemporaryFile
from typing import List

import nox
from nox import parametrize
Expand Down Expand Up @@ -36,14 +35,14 @@ def fmt(s: Session) -> None:

@session(venv_backend="none")
@parametrize(
"commands",
"command",
[
["ruff", "check", "."],
["ruff", "format", "--check", "."],
],
)
def lint(s: Session, commands: List[str]) -> None:
s.run(*commands)
def lint(s: Session, command) -> None:
s.run(*command)


@session(venv_backend="none")
Expand Down

0 comments on commit 2fb1e56

Please sign in to comment.