Projet

Général

Profil

0010-trivial-add-pylint-disable-comment-for-exec-used-527.patch

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

Télécharger (1012 octets)

Voir les différences:

Subject: [PATCH 10/15] trivial: add pylint disable comment for exec-used
 (#52732)

 pylint.rc       | 1 -
 wcs/settings.py | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
pylint.rc
17 17
    disallowed-name,
18 18
    duplicate-code,
19 19
    eval-used,
20
    exec-used,
21 20
    fixme,
22 21
    global-variable-undefined,
23 22
    import-outside-toplevel,
wcs/settings.py
203 203
)
204 204
if os.path.exists(local_settings_file):
205 205
    with open(local_settings_file) as fd:
206
        exec(fd.read())
206
        exec(fd.read())  # noqa pylint: disable=exec-used
207
-