mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
better mypy coverage
This commit is contained in:
parent
a9e662d245
commit
44d2dceaf8
3 changed files with 21 additions and 13 deletions
|
|
@ -190,7 +190,7 @@ def init(verbose: int = 0, dry: bool = False) -> None:
|
|||
config.write_content(ctx)
|
||||
|
||||
|
||||
def _assert_not_dirty(_vcs: vcs.VCS, filepaths: typ.Set[str], allow_dirty: bool):
|
||||
def _assert_not_dirty(_vcs: vcs.VCS, filepaths: typ.Set[str], allow_dirty: bool) -> None:
|
||||
dirty_files = _vcs.status(required_files=filepaths)
|
||||
|
||||
if dirty_files:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue