Skip to content

Commit 96c766e

Browse files
committedSep 12, 2024
refine coding style
1 parent 4ea149d commit 96c766e

7 files changed

+22
-1
lines changed
 

‎web_analytics/apigw.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env python3
2+
# -*- encoding: utf-8 -*-
3+
# vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab
4+
25
import json
36

47
import aws_cdk as cdk

‎web_analytics/firehose.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env python3
2+
# -*- encoding: utf-8 -*-
3+
# vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab
4+
25
import random
36
import string
47

@@ -16,6 +19,7 @@
1619

1720
random.seed(31)
1821

22+
1923
class FirehoseStack(Stack):
2024

2125
def __init__(self, scope: Construct, construct_id: str, source_kinesis_stream_arn, data_transform_lambda_fn, **kwargs) -> None:

‎web_analytics/firehose_dtata_transform_lambda.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
2-
import os
2+
# -*- encoding: utf-8 -*-
3+
# vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab
34

45
import aws_cdk as cdk
56

‎web_analytics/glue_catalog_database.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#!/usr/bin/env python3
2+
# -*- encoding: utf-8 -*-
3+
# vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab
4+
15
import aws_cdk as cdk
26

37
from aws_cdk import (

‎web_analytics/kds.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python3
2+
# -*- encoding: utf-8 -*-
3+
# vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab
24

35
import random
46
import string
@@ -14,6 +16,7 @@
1416

1517
random.seed(31)
1618

19+
1720
class KdsStack(Stack):
1821

1922
def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:

‎web_analytics/lake_formation.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#!/usr/bin/env python3
2+
# -*- encoding: utf-8 -*-
3+
# vim: tabstop=2 shiftwidth=2 softtabstop=2 expandtab
4+
15
import aws_cdk as cdk
26

37
from aws_cdk import (
@@ -6,6 +10,7 @@
610
)
711
from constructs import Construct
812

13+
914
class DataLakePermissionsStack(Stack):
1015

1116
def __init__(self, scope: Construct, construct_id: str, job_role, **kwargs) -> None:

‎web_analytics/merge_small_files_lambda.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
)
1717
from constructs import Construct
1818

19+
1920
class MergeSmallFilesLambdaStack(Stack):
2021

2122
def __init__(self, scope: Construct, construct_id: str, s3_bucket_name, s3_folder_name, athena_work_group, **kwargs) -> None:

0 commit comments

Comments
 (0)