From 29c6afe476253155c30e7ae541ca95a446dd93be Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 16 Jul 2019 10:52:24 +0200 Subject: Fix lint --- scripts/dev/update_3rdparty.py | 2 +- scripts/dev/update_version.py | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/dev/update_3rdparty.py b/scripts/dev/update_3rdparty.py index 5f654b99d..cd1f6eac8 100755 --- a/scripts/dev/update_3rdparty.py +++ b/scripts/dev/update_3rdparty.py @@ -36,7 +36,7 @@ from qutebrowser.config import configdata def download_nsis_plugins(): - """Download the plugins required by the NSIS script""" + """Download the plugins required by the NSIS script.""" github_url = 'https://raw.githubusercontent.com/Drizin/NsisMultiUser' git_commit = 'master' nsh_files = ('Include/NsisMultiUser.nsh', 'Include/NsisMultiUserLang.nsh', diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py index 746f32fe5..037181651 100644 --- a/scripts/dev/update_version.py +++ b/scripts/dev/update_version.py @@ -1,7 +1,8 @@ #!/usr/bin/env python3 # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: -# Copyright 2018 Andy Mender +# Copyright 2018-2019 Andy Mender +# Copyright 2019 Florian Bruhin (The Compiler) # This file is part of qutebrowser. # @@ -18,9 +19,10 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . +"""Update version numbers using bump2version.""" + import sys import argparse -import datetime import os.path import subprocess @@ -64,8 +66,8 @@ if __name__ == "__main__": "./.venv/bin/python3 scripts/dev/build_release.py --upload`" .format(v=version)) print("* Windows: Run `git checkout {v}; " - "py -3 scripts\dev\\build_release.py --asciidoc " - "C:\Python27\python " + "py -3 scripts\\dev\\build_release.py --asciidoc " + "C:\\Python27\\python " "%userprofile%\\bin\\asciidoc-8.6.10\\asciidoc.py --upload`." .format(v=version)) print("* macOS: Run `git checkout {v} && " -- cgit v1.2.3-54-g00ecf