mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
linter fixes
This commit is contained in:
parent
e9642ac3d9
commit
0f6c3d3415
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
[flake8]
|
||||
ignore = E203
|
||||
ignore = E203,W504
|
||||
max-line-length = 110
|
||||
exclude = .git,__pycache__,.eggs/,dist/,.mypy_cache
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ def current_calver() -> str:
|
|||
return dt.date.today().strftime("v%Y%m")
|
||||
|
||||
|
||||
def bump(old_version: str, *, release: str=None) -> str:
|
||||
def bump(old_version: str, *, release: str = None) -> str:
|
||||
# old_version is assumed to be a valid calver string,
|
||||
# validated in pycalver.config.parse.
|
||||
old_ver = parse.parse_version_info(old_version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue