Skip to content

Commit

Permalink
WIP: Make the tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
the-13th-letter committed Feb 23, 2025
1 parent ef9b006 commit ed00076
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bumpversion/config/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ def version_spec(self, version: Optional[str] = None) -> "VersionSpec":
class PEP621Info:
"""PEP 621 info, in particular, the static version number."""

version: Optional[str]
version: Optional[str] = None
2 changes: 2 additions & 0 deletions tests/fixtures/basic_cfg_expected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ parts:
values:
- "dev"
- "gamma"
pep621_info:
version: null
post_commit_hooks:

pre_commit_hooks:
Expand Down
3 changes: 3 additions & 0 deletions tests/fixtures/basic_cfg_expected_full.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
]
}
},
"pep621_info": {
"version": null
},
"post_commit_hooks": [],
"pre_commit_hooks": [],
"regex": false,
Expand Down

0 comments on commit ed00076

Please sign in to comment.