-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upping the version number and adding a test for it.
- Loading branch information
1 parent
d323778
commit 9e90179
Showing
3 changed files
with
48 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
import bitformat | ||
import tomllib | ||
|
||
def test_version_number(): | ||
with open("../pyproject.toml") as f: | ||
pyproject_data = tomllib.loads(f.read()) | ||
toml_version = pyproject_data["project"]["version"] | ||
assert bitformat.__version__ == toml_version |