-
Notifications
You must be signed in to change notification settings - Fork 32
Fix typo identified in #172 #173
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
Conversation
7a192ed to
b4eb92b
Compare
This commit fixes a mistake observed in elastic#172 (comment) and allows to simply the code further (no need for a helper function)
| - id: check-bash-syntax | ||
| - repo: https://github.com/pre-commit/mirrors-mypy | ||
| rev: v0.910 | ||
| rev: v1.16.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is that we are currently installing the latest version of mypy when executing the various Python 3.x tests using nox (e.g. see https://github.com/elastic/ecs-logging-python/blob/main/noxfile.py#L54) hence there was a discrepancy here when running precommit tests, that was surfacing non-existent errors.
xrmx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround!
This commit fixes a typo observed in
#172 (comment)
Also allows to simply the code without a need for a helper function.