Skip to content

Commit 8eca06c

Browse files
committed
chore: add scriv as dev dep, bump version
1 parent dc7f52f commit 8eca06c

File tree

3 files changed

+73
-10
lines changed

3 files changed

+73
-10
lines changed

cellseg_models_pytorch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from . import inference, models, utils
22
from .models import CellPoseUnet, HoverNet, StarDistUnet
33

4-
__version__ = "0.1.1"
4+
__version__ = "0.1.2"
55
submodules = ["utils", "models", "inference"]
66
__all__ = [
77
"__version__",

poetry.lock

Lines changed: 63 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "cellseg_models_pytorch"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Python library for 2D cell/nuclei instance segmentation models written with PyTorch."
55
authors = ["Okunator <oskari.lehtonen@helsinki.fi>"]
66
license = "MIT"
@@ -48,6 +48,13 @@ mypy = "^0.931"
4848
isort = "^5.10.1"
4949
black = "^22.3.0"
5050

51+
[tool.poetry.group.dev.dependencies]
52+
scriv = {extras = ["toml"], version = "^0.16.0"}
53+
54+
[tool.scriv]
55+
format = "md"
56+
version = "literal: cellseg_models_pytorch/__init__.py: __version__"
57+
5158
[tool.pytest.ini_options]
5259
minversion = "6.0"
5360
addopts = "-ra -v"
@@ -71,7 +78,7 @@ exclude = ".git,__pycache__,docs/source/conftest.py,old,build,dist,test,tests"
7178
source = ["cellseg_models_pytorch"]
7279

7380
[tool.coverage.report]
74-
omit = ["*/tests/*", "*/__init__.py"]
81+
omit = ["*/tests/*", "*/__init__.py", "*/datamodules/*"]
7582
exclude_lines = [
7683
"raise TypeError",
7784
"raise ImportError",

0 commit comments

Comments
 (0)