Skip to content

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Dec 29, 2023
1 parent 3c10145 commit fba42e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ ban-relative-imports = "all"
source_pkgs = ["hayhooks", "tests"]
branch = true
parallel = true
omit = [
"src/hayhooks/__about__.py",
]
omit = []

[tool.coverage.paths]
hayhooks = ["src/hayhooks", "*/hayhooks/src/hayhooks"]
Expand Down
3 changes: 1 addition & 2 deletions src/hayhooks/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
# SPDX-License-Identifier: Apache-2.0
import click

from hayhooks.__about__ import __version__
from hayhooks.cli.run import run
from hayhooks.cli.deploy import deploy
from hayhooks.cli.status import status
from hayhooks.cli.undeploy import undeploy


@click.group(context_settings={"help_option_names": ["-h", "--help"]}, invoke_without_command=True)
@click.version_option(version=__version__, prog_name="Hayhooks")
@click.version_option(prog_name="Hayhooks")
def hayhooks():
pass

Expand Down

0 comments on commit fba42e2

Please sign in to comment.