mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
Start adding logging for --verbose
This commit is contained in:
parent
f539464368
commit
a6d790cc10
2 changed files with 23 additions and 0 deletions
|
|
@ -1 +1,12 @@
|
|||
import logging
|
||||
|
||||
try:
|
||||
from logging import NullHandler
|
||||
except ImportError:
|
||||
class NullHandler(logging.Handler):
|
||||
def emit(self, record):
|
||||
pass
|
||||
|
||||
logging.getLogger(__name__).addHandler(NullHandler())
|
||||
|
||||
__version__ = '3.0.0a1'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue