From daf2aa0ae365bf204d9fb9aa110839728c4c57e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 3 Apr 2021 10:17:50 +0200 Subject: [PATCH] trivial: add pylint disable comment for deprecated-module warning (#52732) --- pylint.rc | 1 - wcs/qommon/ctl.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pylint.rc b/pylint.rc index cf7c4c439..7efd90d67 100644 --- a/pylint.rc +++ b/pylint.rc @@ -13,7 +13,6 @@ disable= consider-using-dict-comprehension, consider-using-set-comprehension, cyclic-import, - deprecated-module, duplicate-code, fixme, global-variable-undefined, diff --git a/wcs/qommon/ctl.py b/wcs/qommon/ctl.py index 36f70d13d..3af90676c 100644 --- a/wcs/qommon/ctl.py +++ b/wcs/qommon/ctl.py @@ -17,10 +17,10 @@ from __future__ import print_function import configparser -import optparse +import optparse # noqa pylint: disable=deprecated-module import os import sys -from optparse import make_option +from optparse import make_option # noqa pylint: disable=deprecated-module __all__ = [ 'Command',