From 808acb63604f59acbf119cc16fd296a1ad4ed36f Mon Sep 17 00:00:00 2001 From: "Jurriaan H. Spaaks" Date: Fri, 12 Mar 2021 12:26:49 +0100 Subject: [PATCH 1/2] sorted sections in setup.cfg --- setup.cfg | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/setup.cfg b/setup.cfg index 45a946b..41ea528 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,13 @@ +[aliases] +test = pytest + [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 +16,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 +29,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 +36,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 From d285495865f85047526e901c034e247b6f3e23be Mon Sep 17 00:00:00 2001 From: "Jurriaan H. Spaaks" Date: Tue, 16 Mar 2021 16:13:29 +0100 Subject: [PATCH 2/2] remove aliases as per suggestion in PR#86 --- setup.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 41ea528..49b1bf1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[aliases] -test = pytest - [bumpversion] current_version = 0.1.0