python-no-log-warn catches valid methods
See original GitHub issueThe standard library package warning
has a .warn()
method. This check incorrectly blocks when that method is used.
The description states this is a “A quick check for the deprecated .warn()
method of python loggers.”
As a user, I would expect this check to only check logger objects for usages of the .warn
method. What I experience is that warnings.warn()
is being flagged.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Style - Scikit-HEP
Flake8. Flake8 can check a collection of good practices for you, ranging from simple style to things that might confuse or detract users,...
Read more >Writing better Python code, automatically - mje.nz
Step 1: catching bugs and anti-patterns; Step 2: enforcing best practices; Step 3: maintaining a consistent style; Step 4: bonus points.
Read more >ignore doctests/docstrings with pyflakes/pylint - splunktool
When the IGNORE_EXCEPTION_DETAIL doctest option is specified, everything following the leftmost colon and any module information in the ...
Read more >idesolver [python]: Datasheet - Package Galaxy
... for all the input functions - Catch error for complex valued functions when y_0 is real, ... + informational: true ... +...
Read more >The pygrep-hooks from pre-commit - GithubHelp
python-no-log-warn catches valid methods. The standard library package warning has a .warn() method. This check incorrectly blocks when that method is used.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
pre-commit run --all-files
😉via #18