From 84a430937d7c49f41fbeb3acb8a7463d6f0ff7b6 Mon Sep 17 00:00:00 2001 From: Jakub Date: Thu, 17 Oct 2019 14:31:49 +0200 Subject: [PATCH] updated status with description, fixed naming in fastai (#64) --- docs/conf.py | 2 +- neptunecontrib/monitoring/fastai.py | 2 +- pylintrc | 2 +- setup.py | 10 +++++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6e7a9d5..e357858 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,7 +49,7 @@ # The short X.Y version version = '0.13' # The full version, including alpha/beta/rc tags -release = '0.13.7' +release = '0.13.8' # -- General configuration --------------------------------------------------- diff --git a/neptunecontrib/monitoring/fastai.py b/neptunecontrib/monitoring/fastai.py index d6ab761..3fc4091 100644 --- a/neptunecontrib/monitoring/fastai.py +++ b/neptunecontrib/monitoring/fastai.py @@ -91,7 +91,7 @@ def on_epoch_end(self, **kwargs): metric_name = getattr(metric_name, '__name__', metric_name) self._exp.send_metric(self._prefix + str(metric_name), float(metric_value)) - def on_batch_end(self, last_loss, iteration, train, **kwars): + def on_batch_end(self, last_loss, iteration, train, **kwargs): if iteration == 0 or not train: return self._exp.send_metric('{}last_loss'.format(self._prefix), last_loss) diff --git a/pylintrc b/pylintrc index aefb4d1..b51e30a 100644 --- a/pylintrc +++ b/pylintrc @@ -41,7 +41,7 @@ load-plugins=pylintfileheader # W0511 Allow TODO/FIXME comments. # W0703 Allow too broad except clause (Exception). # I0011 Do not show Locally disabled warnings in report -disable=R,C0103,C0111,W0401,W0511,W0614,W0703,I0011,W0613,E0401,C0411,E0611 +disable=R,C0103,C0111,W0401,W0511,W0614,W0703,I0011,W0613,E0401,C0411,E0611,W0221 # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/setup.py b/setup.py index f72fbb4..4bca039 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,9 @@ def main(): + with open('README.md') as readme_file: + readme = readme_file.read() + extras = { 'bots': ['python-telegram-bot'], 'hpo': ['scikit-optimize==0.5.2', 'scipy'], @@ -20,12 +23,13 @@ def main(): setup( name='neptune-contrib', - version='0.13.7', - description='Neptune Python library contributions', + version='0.13.8', + description='Neptune.ml contributions library', author='neptune.ml', + support='contact@neptune.ml', author_email='contact@neptune.ml', url="https://github.com/neptune-ml/neptune-contrib", - long_description='Neptune Python library contributions', + long_description=readme, license='MIT License', install_requires=base_libs, extras_require=extras,