Skip to content

Commit

Permalink
Fix E231 missing whitespace after ','
Browse files Browse the repository at this point in the history
  • Loading branch information
laughingman7743 committed May 2, 2020
1 parent ee9952b commit f44e2b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions pyathena/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def _build_start_query_execution_request(
):
request = {
"QueryString": query,
"QueryExecutionContext": {"Database": self._schema_name,},
"QueryExecutionContext": {"Database": self._schema_name},
"ResultConfiguration": {},
}
if self._s3_staging_dir or s3_staging_dir:
Expand All @@ -155,9 +155,7 @@ def _build_start_query_execution_request(
}
if self._kms_key:
enc_conf.update({"KmsKey": self._kms_key})
request["ResultConfiguration"].update(
{"EncryptionConfiguration": enc_conf,}
)
request["ResultConfiguration"].update({"EncryptionConfiguration": enc_conf})
return request

def _build_list_query_executions_request(
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
author_email="[email protected]",
license="MIT License",
packages=find_packages(".", exclude=["tests"]),
package_data={"": ["LICENSE", "*.rst", "Pipfile*"],},
package_data={"": ["LICENSE", "*.rst", "Pipfile*"]},
include_package_data=True,
data_files=[("", ["LICENSE"] + glob("*.rst") + glob("Pipfile*")),],
data_files=[("", ["LICENSE"] + glob("*.rst") + glob("Pipfile*"))],
install_requires=[
"future",
'futures;python_version=="2.7"',
Expand Down

0 comments on commit f44e2b8

Please sign in to comment.