diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-07-18 17:30:37 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-07-18 17:35:30 +0200 |
commit | 1023c2ef804f724f2bf4ef2961f8040ee60bff97 (patch) | |
tree | 4ca848ddb35c8b5100c3a70792e755b908789e21 | |
parent | d4966852d7123aa0d51ebfa02f5515b811acc822 (diff) | |
download | qutebrowser-1023c2ef804f724f2bf4ef2961f8040ee60bff97.tar.gz qutebrowser-1023c2ef804f724f2bf4ef2961f8040ee60bff97.zip |
Fix lint
(cherry picked from commit 81a5ada67f71af5cd412a16552843a1db0258a4d)
-rw-r--r-- | qutebrowser/misc/earlyinit.py | 1 | ||||
-rwxr-xr-x | scripts/dev/build_release.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py index 36d61e53d..7d358ba7b 100644 --- a/qutebrowser/misc/earlyinit.py +++ b/qutebrowser/misc/earlyinit.py @@ -140,6 +140,7 @@ def pyinstaller_qt_workaround(): if (hasattr(sys, 'frozen') and hasattr(sys, '_MEIPASS') and sys.platform == 'win32'): + # pylint: disable=no-member,protected-access os.environ['PATH'] += os.pathsep + sys._MEIPASS diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 0b311e40f..3c3ff28c9 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -108,7 +108,8 @@ def smoke_test(executable): r'\[.*\] LOADER: .*', # https://github.com/qutebrowser/qutebrowser/issues/4919 - r'objc\[.*\]: .* One of the two will be used\. Which one is undefined\.', + (r'objc\[.*\]: .* One of the two will be used\. ' + r'Which one is undefined\.'), (r'QCoreApplication::applicationDirPath: Please instantiate the ' r'QApplication object first'), ] |