Skip to content

Commit 7bf6d64

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

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy