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

Mypy support for colorlog #83

Closed
thdhondt opened this issue May 21, 2020 · 2 comments
Closed

Mypy support for colorlog #83

thdhondt opened this issue May 21, 2020 · 2 comments
Milestone

Comments

@thdhondt
Copy link

Hello,

First of all, thanks a lot for this great package!
I have been using it for over a year now and it has made my logs a lot clearer.

I was wondering if you had any plans to add support for type annotations in this library?

I have started making a stub file on my side, but a direct integration inside the library would of course be easier for maintenance.

Thanks in advance for your help.

Thomas

@borntyping
Copy link
Owner

I only do maintainance work on this library at the moment (most of my work on logging goes into jsonlog now), but would accept merge requests adding stub files :)

At the moment colorlog still targets ancient Python 2 versions, so adding types into the code itself might not be practical.

@borntyping borntyping added this to the v6.0.0 milestone Apr 13, 2021
@borntyping
Copy link
Owner

Type hints have been added in 6.0.0a2.

(This is a prerelease and may change before version 6.0.0.)

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

No branches or pull requests

2 participants