Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'hatch version' now displays error message when executed outside proj… #927

Merged
merged 3 commits into from
Nov 26, 2023

Conversation

pr9000
Copy link
Contributor

@pr9000 pr9000 commented Aug 2, 2023

Display an error message instead traceback when executing "hatch version" command outside project directory.

$ hatch version
No project detected

Copy link
Collaborator

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ofek ofek merged commit 4f4f5b2 into pypa:master Nov 26, 2023
34 of 36 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 26, 2023
#927)

* 'hatch version' now displays error message when executed outside project directory

* add tests and release note

---------

Co-authored-by: Ofek Lev <[email protected]> 4f4f5b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants