Skip to content

StructlogFormatter conforms to structlog.typing.Processor #147

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AWhetter
Copy link

This changes the function signature of StructlogProcessor.__call__ so that's it's compatible with structlog.typing.Processor.

I've also removed the need for mypy to be run with --no-warn-unused-ignores. The test was requiring this to be set, and therefore users would need to as well. With this change, users can run mypy with --strict and without needing to turn any other checks off.

Closes #146

Copy link

cla-checker-service bot commented Oct 24, 2024

💚 CLA has been signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StructlogProcessor fails typechecking
1 participant