From aaa3f040129840e2536b53aea9000a17cf49fcba Mon Sep 17 00:00:00 2001 From: ludeeus Date: Tue, 8 Jan 2019 15:04:05 +0100 Subject: [PATCH] E225 missing whitespace around operator --- reporeleaser/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporeleaser/release.py b/reporeleaser/release.py index 58bedde..9c144b6 100644 --- a/reporeleaser/release.py +++ b/reporeleaser/release.py @@ -179,7 +179,7 @@ def release_description(self, last_release, version): else: description = BODY commits = self.new_commits(last_release['tag_sha']) - if len(commits) -1 == 0: + if len(commits) - 1 == 0: print("There is no new commits to release.") return None for commit in reversed(commits):