Skip to content

Commit

Permalink
pylint: disable=E1101
Browse files Browse the repository at this point in the history
  • Loading branch information
shnela committed Oct 6, 2021
1 parent 755f975 commit 15a4f66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neptunecontrib/monitoring/xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
2 changes: 1 addition & 1 deletion neptunecontrib/versioning/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 15a4f66

Please sign in to comment.