From e2356febdf88f69decc5ad8a46a7577b1fbd759b Mon Sep 17 00:00:00 2001 From: dboe <dboe@ipp.mpg.de> Date: Wed, 15 Jul 2020 18:13:30 +0200 Subject: [PATCH] release-v0.3.0 --- rna/__init__.py | 2 +- setup.cfg | 28 +++++++++++++--------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/rna/__init__.py b/rna/__init__.py index 028a44b..0bb67ea 100644 --- a/rna/__init__.py +++ b/rna/__init__.py @@ -2,7 +2,7 @@ __author__ = """Daniel Böckenhoff""" __email__ = "dboe@ipp.mpg.de" -__version__ = "0.2.30" +__version__ = "__version__ = '0.3.0'" from . import plotting from . import log # NOQA diff --git a/setup.cfg b/setup.cfg index 9e14858..63f30e4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.2.30 +current_version = 0.3.0 tag = True commit = True message = release-v{new_version} @@ -43,12 +43,11 @@ tests_require = python_requires = >=3.0 [options] -# replace the old find_packages in setup.py -packages=find: +packages = find: [options.packages.find] -exclude = - tests* +exclude = + tests* [options.extras_require] all = @@ -58,8 +57,8 @@ dev = bumpversion # for incrementing the version twine # for publishing sphinx # for documentation - pre-commit # https://pre-commit.com/ for hook managment - pre-commit-hooks + pre-commit # https://pre-commit.com/ for hook managment + pre-commit-hooks test = flake8 pytest @@ -87,9 +86,8 @@ exclude_lines = if False [coverage:run] -omit = - # omit the following files - rna/plotting/*.py +omit = + rna/plotting/*.py [flake8] max-line-length = 99 @@ -123,14 +121,14 @@ python = [testenv] description = run test suite under {basepython} deps = - -rdocs/requirements.txt + -rdocs/requirements.txt extras = test commands = pytest \ - --cov={[metadata]name} \ - --ignore=docs \ - --ignore=rna/plotting \ - --junitxml=report/junit.xml + --cov={[metadata]name} \ + --ignore=docs \ + --ignore=rna/plotting \ + --junitxml=report/junit.xml [testenv:flake8] commands = flake8 {[metadata]name}/ tests/ -- GitLab