Fix all E201 and E202 style errors

using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
This commit is contained in:
Nicola Soranzo
2017-08-17 11:35:39 +01:00
committed by Nicola Soranzo
parent 008a1d849c
commit 21b44bf348
1062 changed files with 69958 additions and 69959 deletions
+2 -2
View File
@@ -335,7 +335,7 @@ class SeleniumSessionDatasetCollectionPopulator(populators.BaseDatasetCollection
self.dataset_populator = SeleniumSessionDatasetPopulator(selenium_test_case)
def _create_collection(self, payload):
create_response = self._post( "dataset_collections", data=payload )
create_response = self._post("dataset_collections", data=payload)
return create_response
@@ -360,4 +360,4 @@ class SeleniumSessionWorkflowPopulator(populators.BaseWorkflowPopulator, Seleniu
def upload_yaml_workflow(self, has_yaml, **kwds):
workflow = convert_and_import_workflow(has_yaml, galaxy_interface=self, **kwds)
return workflow[ "id" ]
return workflow["id"]
+1 -1
View File
@@ -26,7 +26,7 @@ class LoginTestCase(SeleniumTestCase):
@selenium_test
def test_invalid_passwords(self):
bad_passwords = [ '1234', '', '; SELECT * FROM galaxy_user' ]
bad_passwords = ['1234', '', '; SELECT * FROM galaxy_user']
for bad_password in bad_passwords:
self.home()
self.submit_login(self._get_random_email(), password=bad_password)
+1 -1
View File
@@ -58,7 +58,7 @@ class RegistrationTestCase(SeleniumTestCase):
@selenium_test
def test_bad_emails(self):
bad_emails = [ 'bob', 'bob@', 'bob@idontwanttocleanup', 'bob.cantmakeme' ]
bad_emails = ['bob', 'bob@', 'bob@idontwanttocleanup', 'bob.cantmakeme']
good_email = self._get_random_email()
password = DEFAULT_PASSWORD
confirm = password