Skip to content

Commit 47ca0cd

Browse files
committed
make-changelog.py: flake8 fixes
1 parent 8a9cb54 commit 47ca0cd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

extra/make-changelog.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/usr/bin/python
22
# -*- encoding: utf-8 -*-
33

4-
import git
5-
import sys
64
from collections import defaultdict
7-
from textwrap import wrap
85
from email.utils import formatdate
6+
import sys
7+
from textwrap import wrap
8+
9+
import git
910

1011
repo = git.Repo('.')
1112
changelog = defaultdict(list)
@@ -20,7 +21,8 @@
2021
for author in sorted(changelog.keys()):
2122
print(' [ %s ]' % author)
2223
for log in changelog[author]:
23-
print('\n'.join(wrap(log, initial_indent=' * ', subsequent_indent=' ')))
24+
print('\n'.join(
25+
wrap(log, initial_indent=' * ', subsequent_indent=' ')))
2426
print('')
2527

2628
print(' -- David Paleino <d.paleino@gmail.com> ', formatdate(localtime=True))

0 commit comments

Comments
 (0)