Skip to content

Commit 1a74a66

Browse files
committed
Add docstring & update wording in version:check
1 parent 5feb414 commit 1a74a66

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

exasol/toolbox/nox/_package_version.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _create_parser() -> ArgumentParser:
6565
"--fix",
6666
action="store_true",
6767
default=False,
68-
help="fix instead of check.",
68+
help="updates the `version.py`, instead of performing a check.",
6969
)
7070
return parser
7171

@@ -102,7 +102,10 @@ def _main(args: Namespace) -> int:
102102

103103
@nox.session(name="version:check", python=False)
104104
def version_check(session: Session) -> None:
105-
""""""
105+
"""
106+
Compare the version in the `version.py` to that
107+
declared in the `pyproject.toml`.
108+
"""
106109
parser = _create_parser()
107110
args = parser.parse_args(session.posargs)
108111
entry_point = _main if not args.debug else _main_debug

0 commit comments

Comments
 (0)