Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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}"
Expand All @@ -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
Expand All @@ -29,14 +26,14 @@ 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
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