Skip to content

Commit e918a2f

Browse files
authored
Merge pull request #3 from ColumbiaOSS/tkp/fixes
fixup version information in preparation for release
2 parents e934739 + 1753fda commit e918a2f

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ current_version = 0.0.1
33
commit = True
44
tag = True
55

6-
[bumpversion:file:example_project_python/_version.py]
6+
[bumpversion:file:example_project_python/__init__.py]
77
search = __version__ = "{current_version}"
88
replace = __version__ = "{new_version}"
99

10-
1110
[bumpversion:file:pyproject.toml]
1211
search = version="{current_version}"
1312
replace = version="{new_version}"
1413

15-
[bumpversion:file:setup.py]
16-
search = version="{current_version}"
17-
replace = version="{new_version}"

example_project_python/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
from ._version import __version__
21
from .hello import hello, print_hello
2+
3+
__version__ = "0.0.1"

example_project_python/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .hello import print_hello
22

3-
if __name__ == "__main__":
4-
print_hello()
3+
if __name__ == "__main__": # pragma: no cover
4+
print_hello() # pragma: no cover

example_project_python/_version.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)