Projet

Général

Profil

0015-trivial-add-pylint-disable-comment-for-deprecated-mo.patch

Frédéric Péters, 04 avril 2021 17:20

Télécharger (1,15 ko)

Voir les différences:

Subject: [PATCH 15/15] 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(-)
pylint.rc
13 13
    consider-using-dict-comprehension,
14 14
    consider-using-set-comprehension,
15 15
    cyclic-import,
16
    deprecated-module,
17 16
    duplicate-code,
18 17
    fixme,
19 18
    global-variable-undefined,
wcs/qommon/ctl.py
17 17
from __future__ import print_function
18 18

  
19 19
import configparser
20
import optparse
20
import optparse  # noqa pylint: disable=deprecated-module
21 21
import os
22 22
import sys
23
from optparse import make_option
23
from optparse import make_option  # noqa pylint: disable=deprecated-module
24 24

  
25 25
__all__ = [
26 26
    'Command',
27
-