summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-07-16 10:52:24 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-07-16 10:52:24 +0200
commit29c6afe476253155c30e7ae541ca95a446dd93be (patch)
tree403459268a497af3df4414937b0fe7268ce10464
parentc9c821254fa3434dc5fc5a102f659cbcacf0bb4e (diff)
downloadqutebrowser-29c6afe476253155c30e7ae541ca95a446dd93be.tar.gz
qutebrowser-29c6afe476253155c30e7ae541ca95a446dd93be.zip
Fix lint
-rwxr-xr-xscripts/dev/update_3rdparty.py2
-rw-r--r--scripts/dev/update_version.py10
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 <andymenderunix@gmail.com>
+# Copyright 2018-2019 Andy Mender <andymenderunix@gmail.com>
+# Copyright 2019 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
# 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 <http://www.gnu.org/licenses/>.
+"""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} && "