From 15a4f66d86650969308369af32083fe9a937f5cd Mon Sep 17 00:00:00 2001 From: Jakub Kuszneruk Date: Wed, 6 Oct 2021 12:59:21 +0200 Subject: [PATCH] pylint: disable=E1101 --- neptunecontrib/monitoring/xgboost.py | 2 +- neptunecontrib/versioning/data.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neptunecontrib/monitoring/xgboost.py b/neptunecontrib/monitoring/xgboost.py index 16134ed..9cca2bb 100644 --- a/neptunecontrib/monitoring/xgboost.py +++ b/neptunecontrib/monitoring/xgboost.py @@ -225,7 +225,7 @@ def _log_importance(booster, max_num_features, npt, **kwargs): import matplotlib.pyplot as plt except ImportError: raise ImportError('Please install matplotlib to log importance') - importance = xgb.plot_importance(booster, max_num_features=max_num_features, **kwargs) # pylint: disable=E1101 + importance = xgb.plot_importance(booster, max_num_features=max_num_features, **kwargs) # pylint: disable=E1101 npt.log_image('feature_importance', importance.figure) plt.close('all') diff --git a/neptunecontrib/versioning/data.py b/neptunecontrib/versioning/data.py index 038f773..761aca8 100644 --- a/neptunecontrib/versioning/data.py +++ b/neptunecontrib/versioning/data.py @@ -168,7 +168,7 @@ def _md5_hash_dir(dirpath): def _md5_hash_bucket(bucket_name, path): s3 = boto3.resource('s3') - bucket = s3.Bucket(bucket_name) + bucket = s3.Bucket(bucket_name) # pylint: disable=E1101 hash_md5 = hashlib.md5()