Skip to content

Commit 6a89ea0

Browse files
committed
re-flake8'd the setversion.py script
1 parent eebacba commit 6a89ea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setversion.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ def main():
119119
help="Do rename of .new files only; don't rewrite")
120120

121121
args = parser.parse_args()
122-
122+
123123
if args.renameonly and args.nodelete:
124124
print("cannot specify --renameonly and --nodelete together")
125125
return 1
126-
126+
127127
if not args.renameonly:
128128
vnexpr = re.compile(r"^[1-9]\d*\.\d+\.\d+$")
129129
if not vnexpr.match(args.version):
130130
print("Invalid version number {0}: must be three numeric values separated by dots\n".format(args.version))
131131
return 1
132-
132+
133133
ctxt = {"version": args.version, "nodelete": args.nodelete, "backup": args.backup, "renameonly": args.renameonly}
134134
rewrite_file("README.md", readme_rewriter, ctxt)
135135
rewrite_file("docs/changelog.rst", changelog_rewriter, ctxt)

0 commit comments

Comments
 (0)