diff --git a/setup.cfg b/setup.cfg index 45a946b..49b1bf1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,10 @@ [bumpversion] current_version = 0.1.0 +[bumpversion:file:CITATION.cff] +search = version: "{current_version}" +replace = version: "{new_version}" + [bumpversion:file:fairtally/__version__.py] search = __version__ = "{current_version}" replace = __version__ = "{new_version}" @@ -9,13 +13,6 @@ replace = __version__ = "{new_version}" search = version="{current_version}" replace = version="{new_version}" -[bumpversion:file:CITATION.cff] -search = version: "{current_version}" -replace = version: "{new_version}" - -[aliases] -test = pytest - [build_sphinx] source-dir = docs build-dir = docs/_build @@ -29,10 +26,6 @@ source = fairtally [metadata] description-file = README.rst -[tool:pytest] -testpaths = tests -addopts = --cov --cov-report xml --cov-report term --cov-report html - [tool:isort] lines_after_imports = 2 force_single_line = 1 @@ -40,3 +33,7 @@ no_lines_before = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER known_first_party = fairtally src_paths = fairtally,tests,livetests line_length = 120 + +[tool:pytest] +testpaths = tests +addopts = --cov --cov-report xml --cov-report term --cov-report html