more lint

This commit is contained in:
npapernot 2019-07-29 22:30:45 +00:00
parent 801e6eef1c
commit f470ae4a7c
2 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@ if LooseVersion(tf.__version__) < LooseVersion("2.0.0"):
if hasattr(sys, "skip_tf_privacy_import"): # Useful for standalone scripts.
pass
else:
from privacy.bolton.models import BoltonModel
from privacy.bolton.optimizers import Bolton
from privacy.bolton.losses import StrongConvexHuber
from privacy.bolton.losses import StrongConvexBinaryCrossentropy
from privacy.bolton.models import BoltonModel # pylint: disable=import-not-at-top
from privacy.bolton.optimizers import Bolton # pylint: disable=import-not-at-top
from privacy.bolton.losses import StrongConvexHuber # pylint: disable=import-not-at-top
from privacy.bolton.losses import StrongConvexBinaryCrossentropy # pylint: disable=import-not-at-top

View file

@ -17,8 +17,8 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from contextlib import contextmanager
from io import StringIO
from contextlib import contextmanager # pylint: disable=importing-member
from io import StringIO # pylint: disable=importing-member
import sys
from absl.testing import parameterized
import tensorflow as tf