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

How should we "communicate" an error? #7

Closed
PhilipMay opened this issue Jul 5, 2021 · 2 comments
Closed

How should we "communicate" an error? #7

PhilipMay opened this issue Jul 5, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@PhilipMay
Copy link
Member

"You must not set --py_only and --rst_only at the same time." with sys.exit(1) or -1 or raise ValueError(...

raise ValueError(f"{len(changed)} files should be restyled!") or use ``sys.exit...`

@PhilipMay PhilipMay added enhancement New feature or request help wanted Extra attention is needed labels Jul 5, 2021
@PhilipMay
Copy link
Member Author

see 5930482

@PhilipMay
Copy link
Member Author

done by changing to sys.exit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant