From 79518678e4dc9da89c625279a489e14e31b4c483 Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Mon, 15 Oct 2018 22:47:34 +0200 Subject: [PATCH] Remove trailing whitespace Fixes pylint warnings: trailing-whitespace --- protonfixes/gamefixes/409720.py | 6 +++--- protonfixes/util.py | 2 +- tests/test_utils.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/protonfixes/gamefixes/409720.py b/protonfixes/gamefixes/409720.py index 1758cbd7..2854a250 100644 --- a/protonfixes/gamefixes/409720.py +++ b/protonfixes/gamefixes/409720.py @@ -11,9 +11,9 @@ def main(): log('Applying fixes for BioShock 2 Remastered') - # After loading the game, or a save file, a key needs to be pressed - # to continue. That screen does not respond to keyboard or mouse, - # so there is no way to continue. -nointro disables that screen + # After loading the game, or a save file, a key needs to be pressed + # to continue. That screen does not respond to keyboard or mouse, + # so there is no way to continue. -nointro disables that screen # (but also the intro's at the start of the game). util.append_argument('-nointro') diff --git a/protonfixes/util.py b/protonfixes/util.py index 1ba5665d..62929c24 100644 --- a/protonfixes/util.py +++ b/protonfixes/util.py @@ -280,7 +280,7 @@ def disable_dxvk(): def disable_esync(): set_environment('PROTON_NO_ESYNC', '1') - + def disable_d3d11(): set_environment('PROTON_NO_D3D11', '1') diff --git a/tests/test_utils.py b/tests/test_utils.py index 70ff9319..5aa148f1 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -26,7 +26,7 @@ def setup_testenv(gameid): """ sys.argv[0] = glob.glob(os.path.expanduser('~/.local/share/Steam/steamapps/common/Proton*/proton'))[0] - + test_env = { 'STEAM_COMPAT_DATA_PATH': '/tmp/protonfixes_test/' + str(gameid), 'SteamUser': 'steamuser', @@ -185,7 +185,7 @@ def setUpClass(cls): def test_return_installed(self): """ Check True is returned if verb is in winetricks.log """ - + with Quiet(): checkinstalled = util.checkinstalled('good') self.assertTrue(checkinstalled) @@ -193,7 +193,7 @@ def test_return_installed(self): def test_return_uninstalled(self): """ Check False is returned if verb is not in winetricks.log """ - + with Quiet(): checkinstalled = util.checkinstalled('bad') self.assertFalse(checkinstalled)