Skip to content

Commit

Permalink
fix noxfile
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Dec 12, 2023
1 parent cc0f95c commit d7416e2
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,21 +146,19 @@ def lint(session: nox.Session) -> None:
# check import sorting using isort
session.install("isort")
session.run("isort", "--profile", "black", "--check", "./bundled/tool")
session.run("isort", "--profile", "black", "--check", "./src/test/python_tests")
session.run("isort", "--profile", "black", "--check", "noxfile.py")

# check formatting using black
session.install("black")
session.run("black", "--check", "./bundled/tool")
session.run(
"isort",
"--profile",
"black",
"--check",
"./src/test/python_tests",
"--exclude",
"test_data",
)
session.run("isort", "--profile", "black", "--check", "noxfile.py")

# check formatting using black
session.install("black")
session.run("black", "--check", "./bundled/tool")
session.run("black", "--check", "./src/test/python_tests")
session.run("black", "--check", "noxfile.py")

# check typescript code
Expand Down

0 comments on commit d7416e2

Please sign in to comment.