| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent daf615b commit 7bf6d64
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,26 +34,17 @@ def test_hook(session): | |||
| 34 | 34 | session.run("pre-commit", "try-repo", ".") | |
| 35 | 35 | ||
| 36 | 36 | ||
| 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") | ||
| 43 | 38 | def install_wheel(session): | |
| 39 | + session.run("python3", "-m", "pip", "wheel", "--no-deps", "-w", "dist", ".") | ||
| 44 | 40 | whl_file = glob.glob("dist/*.whl") | |
| 45 | 41 | session.install(str(whl_file[0])) | |
| 46 | 42 | ||
| 47 | 43 | ||
| 48 | - # @nox.session(name="commit-check", requires=["install-wheel"]) | ||
| 49 | - @nox.session(name="commit-check", requires=["install-wheel"]) | ||
| 44 | + @nox.session(name="commit-check") | ||
| 50 | 45 | 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") | ||
| 57 | 48 | ||
| 58 | 49 | ||
| 59 | 50 | @nox.session(requires=["install-wheel"]) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments