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

fix: invalid integer when using -v flag in ape test #2291

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

antazoey
Copy link
Member

What I did

For some reason, ape test -v debug was no longer working - I was getting an Invalid Integer problem.

How I did it

Hack click to ignore type checking..
I wish the callback was enough for this but I guess click does what it wants.

How to verify it

Run:

ape test -v debug

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

Copy link
Contributor

@bitwise-constructs bitwise-constructs left a comment

Choose a reason for hiding this comment

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

very weird fix, but I approve nonetheless

@antazoey
Copy link
Member Author

very weird fix, but I approve nonetheless

Agreed it is weird, I may consult with click

@antazoey
Copy link
Member Author

So click recommends making a custom type: pallets/click#1729

@antazoey antazoey merged commit a2e2dd4 into ApeWorX:main Sep 18, 2024
16 checks passed
@antazoey antazoey deleted the fix/verbosity-typing branch September 18, 2024 17:27
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