FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: update noxfile.py · commit-check/commit-check@7bf6d64 · GitHub

Commit 7bf6d64

Browse files
committed
fix: update noxfile.py
1 parent daf615b commit 7bf6d64

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

‎noxfile.py‎

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,17 @@ def test_hook(session):
3434
session.run("pre-commit", "try-repo", ".")
3535

3636

37-
@nox.session()
38-
def build(session):
39-
session.run("python3", "-m", "pip", "wheel", "--no-deps", "-w", "dist", ".")
40-
41-
42-
@nox.session(name="install-wheel", requires=["build"])
37+
@nox.session(name="install-wheel")
4338
def install_wheel(session):
39+
session.run("python3", "-m", "pip", "wheel", "--no-deps", "-w", "dist", ".")
4440
whl_file = glob.glob("dist/*.whl")
4541
session.install(str(whl_file[0]))
4642

4743

48-
# @nox.session(name="commit-check", requires=["install-wheel"])
49-
@nox.session(name="commit-check", requires=["install-wheel"])
44+
@nox.session(name="commit-check")
5045
def commit_check(session):
51-
session.run(
52-
"commit-check",
53-
"--message",
54-
"--branch",
55-
"--author-email",
56-
)
46+
session.install(".")
47+
session.run("commit-check", "--message", "--branch", "--author-email")
5748

5849

5950
@nox.session(requires=["install-wheel"])

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL