aboutsummaryrefslogtreecommitdiffstats
path: root/src/transform_lambda.py
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2024-08-27 09:46:39 +0000
committerGitHub <noreply@github.com>2024-08-27 09:46:39 +0000
commite51e9fc3c7fa886fe5e753bd123d45c8871673bc (patch)
tree9a7d397028986693923c9b7169d142c34a783cb0 /src/transform_lambda.py
parentc68f63fa3aebcf9b77c24d6e2aec91a4ff4950bb (diff)
downloadde-project-bentley-e51e9fc3c7fa886fe5e753bd123d45c8871673bc.tar.gz
de-project-bentley-e51e9fc3c7fa886fe5e753bd123d45c8871673bc.zip
style: format code with Autopep8, Black and Ruff Formatter
This commit fixes the style issues introduced in c68f63f according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/de-project-bentley/pull/97
Diffstat (limited to 'src/transform_lambda.py')
-rw-r--r--src/transform_lambda.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transform_lambda.py b/src/transform_lambda.py
index 565b4ee..2cd9272 100644
--- a/src/transform_lambda.py
+++ b/src/transform_lambda.py
@@ -11,7 +11,6 @@ from pg8000.native import Connection, InterfaceError
from datetime import datetime
-
class DBConnectionException(Exception):
"""Wraps pg8000.native Error or DatabaseError."""
@@ -212,5 +211,6 @@ def list_existing_s3_files(bucket_name, client=boto3.client("s3")):
return existing_files
-if __name__ == '__main__':
- lambda_handler({}, '') \ No newline at end of file
+
+if __name__ == "__main__":
+ lambda_handler({}, "")
git.ajschof.me — hosted by ajschofield — powered by cgit