pylint skip for undefined name ResourceWarning.

This commit is contained in:
Michael Lazar
2016-07-27 00:14:07 -07:00
parent 90c485d231
commit d78f7bcc70

View File

@@ -38,7 +38,7 @@ def main():
logging.captureWarnings(True)
if six.PY3:
# These ones get triggered even when capturing warnings is turned on
warnings.simplefilter('ignore', ResourceWarning)
warnings.simplefilter('ignore', ResourceWarning) #pylint:disable=E0602
locale.setlocale(locale.LC_ALL, '')