Skip to content

Commit 7f68766

Browse files
author
Beat Buesser
committed
Fix pylint warnings
Signed-off-by: Beat Buesser <[email protected]>
1 parent 00a8e5e commit 7f68766

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

art/attacks/evasion/pixel_threshold.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
| One Pixel Attack Paper link: https://arxiv.org/ans/1710.08864
2323
| Pixel and Threshold Attack Paper link: https://arxiv.org/abs/1906.06026
2424
"""
25-
# pylint: disable=C0302
25+
# pylint: disable=C0302,C0413
2626
from __future__ import absolute_import, division, print_function, unicode_literals
2727

2828
import logging
@@ -44,9 +44,9 @@
4444

4545
scipy_version = list(map(int, scipy.__version__.lower().split(".")))
4646
if scipy_version[1] >= 8:
47-
from scipy.optimize._optimize import _status_message
47+
from scipy.optimize._optimize import _status_message # pylint: disable=E0611
4848
else:
49-
from scipy.optimize.optimize import _status_message
49+
from scipy.optimize.optimize import _status_message # pylint: disable=E0611
5050
from scipy.optimize import OptimizeResult, minimize
5151
from tqdm.auto import tqdm
5252

0 commit comments

Comments
 (0)