Skip to content

Commit

Permalink
run linters on the generated project
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 14, 2024
1 parent afc82e6 commit 4dfe244
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def build_examples(session: nox.Session, lang):
@nox.session(python=PYTHON_VERSIONS)
def test_cli(session: nox.Session) -> None:
"""Test the command line interface."""
session.install("black", "isort")
session.install("pre-commit")
session.install(".")
session.run("babelize", "--version")
session.run("babelize", "--help")
Expand All @@ -137,17 +137,7 @@ def test_cli(session: nox.Session) -> None:
with session.chdir(new_folder):
session.run("babelize", "update", "--set-version=0.1.1")
with session.chdir(new_folder):
session.run(
"black",
"--check",
"--diff",
r"--extend-exclude=setup_utils\.py",
"--verbose",
".",
)
session.run(
"isort", "--force-single-line-imports", "--check", "--diff", "."
)
session.run("pre-commit", "run", "--all-files")


@nox.session
Expand Down

0 comments on commit 4dfe244

Please sign in to comment.