summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLukas Balaga <lukas.balaga@gmail.com>2016-03-07 21:15:37 -0800
committerLukas Balaga <lukas.balaga@gmail.com>2016-03-07 21:29:21 -0800
commitbc52d1a588ba4c68eaf6395e93a218c439dee090 (patch)
tree80ab90fba6f84f5a21de9b269e10090c4816180d /scripts
parentba54d72ba1e23a821477ef692d845164914c9cf8 (diff)
downloadbabel-bc52d1a588ba4c68eaf6395e93a218c439dee090.tar.gz
Add flake8 pre-commit hook and apply fixes.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-release.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/make-release.py b/scripts/make-release.py
index a695da2..7477ad3 100755
--- a/scripts/make-release.py
+++ b/scripts/make-release.py
@@ -26,7 +26,6 @@ def parse_changelog():
match = re.search('^Version\s+(.*)', line.strip())
if match is None:
continue
- length = len(match.group(1))
version = match.group(1).strip()
if lineiter.next().count('-') != len(match.group(0)):
continue