trivial: add pylint disable comment for exec-used (#52732)

This commit is contained in:
Frédéric Péters 2021-04-03 09:57:00 +02:00
parent dbd5bf655f
commit 305ee58a65
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ disable=
disallowed-name,
duplicate-code,
eval-used,
exec-used,
fixme,
global-variable-undefined,
import-outside-toplevel,

View File

@ -203,4 +203,4 @@ local_settings_file = os.environ.get(
)
if os.path.exists(local_settings_file):
with open(local_settings_file) as fd:
exec(fd.read())
exec(fd.read()) # noqa pylint: disable=exec-used