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

PyLint warning deprecated-method not reported #188

Closed
bittner opened this issue Sep 19, 2016 · 1 comment
Closed

PyLint warning deprecated-method not reported #188

bittner opened this issue Sep 19, 2016 · 1 comment

Comments

@bittner
Copy link

bittner commented Sep 19, 2016

I noticed that PyLint reports a warning that I had thought is a critical piece of information. Prospector doesn't report it, neither with --strictness high nor --strictness veryhigh:

W: 48, 8: Using deprecated method warn() (deprecated-method)
W: 52, 8: Using deprecated method warn() (deprecated-method)

This is for Python code using the warn() method of logging, instead of warning(), e.g.

import logging

logger = logging.getLogger(__file__)

logger.warn('This call should better use the `warning` method.')

Is there a reason why prospector is not reporting this warning? I think it should.

@carlio
Copy link
Contributor

carlio commented Oct 28, 2018

Seems there was a commit to fix this ; as I am on a rampage of 2-year-old-bug closing, I hope it is fixed by now but please reopen if not.

@carlio carlio closed this as completed Oct 28, 2018
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