Fix some flake8 warnings
This commit is contained in:
parent
4d36fa0c0e
commit
a109b47ba7
1 changed files with 9 additions and 2 deletions
11
gitdch
11
gitdch
|
@ -79,7 +79,9 @@ parser.add_argument(
|
|||
'--version',
|
||||
type=str,
|
||||
dest='version',
|
||||
help='Currrent version (default: autodetected using git describe --always --tags)'
|
||||
help=(
|
||||
'Currrent version (default: autodetected using git describe '
|
||||
'--always --tags)')
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
@ -176,7 +178,12 @@ def add_version():
|
|||
|
||||
tag = None
|
||||
version_commit = None
|
||||
version = options.version or clean_deb_version(repo.git.describe('--always', '--tags'))
|
||||
version = (
|
||||
options.version or
|
||||
clean_deb_version(
|
||||
repo.git.describe('--always', '--tags')
|
||||
)
|
||||
)
|
||||
messages = []
|
||||
for commit in repo.iter_commits():
|
||||
if version_commit is None:
|
||||
|
|
Loading…
Reference in a new issue