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

feat(color_eyre): add support to specify verbosity in HookBuilder #192

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

TheTollingBell
Copy link

In situations where setting the environment is unsafe it would be more convenient to manually specify the verbosity without using the environment at all.

Made the Verbosity public and added documentation
Added verbosity method to HookBuilder
@TheTollingBell TheTollingBell changed the title add support to specify verbosity in HookBuilder feat: add support to specify verbosity in HookBuilder Aug 13, 2024
@TheTollingBell TheTollingBell changed the title feat: add support to specify verbosity in HookBuilder feat(color_eyre): add support to specify verbosity in HookBuilder Aug 13, 2024
@yaahc
Copy link
Collaborator

yaahc commented Aug 15, 2024

Looks good, I'm happy to merge this with the addition of some tests. Particularly what happens when conflicting verbosity is set via both the hook builder and the env.

@TheTollingBell
Copy link
Author

Sorry for being incommunicado for the past few days, I'll go ahead and fix Clippy failing. As it's configured right now, verbosity that is specified in HookBuilder overrides environment, though it is possible to write another function that would instead have environment override specified verbosity.

@TheTollingBell
Copy link
Author

TheTollingBell commented Aug 18, 2024

Never mind about Clippy, all the warnings are not from changes in this pull request.

@yaahc
Copy link
Collaborator

yaahc commented Aug 29, 2024

clippy warnings should be fixed now

@TheTollingBell
Copy link
Author

@yaahc Is this ready to be merged, or is there something else I should do?

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