Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdlf-dataset][cdk] ruff linting #434

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdlf-dataset/src/app.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python3

import aws_cdk as cdk
import os

import aws_cdk as cdk
from dataset import Dataset

# Project specific
Expand Down
24 changes: 12 additions & 12 deletions sdlf-dataset/src/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
CfnParameter,
Fn,
RemovalPolicy,
aws_dynamodb as ddb,
aws_emr as emr,
aws_events as events,
aws_events_targets as targets,
aws_glue as glue,
aws_glue_alpha as glue_a,
aws_iam as iam,
aws_kms as kms,
aws_lakeformation as lakeformation,
aws_scheduler as scheduler,
aws_ssm as ssm,
)
from aws_cdk import aws_dynamodb as ddb
from aws_cdk import aws_emr as emr
from aws_cdk import aws_events as events
from aws_cdk import aws_events_targets as targets
from aws_cdk import aws_glue as glue
from aws_cdk import aws_glue_alpha as glue_a
from aws_cdk import aws_iam as iam
from aws_cdk import aws_kms as kms
from aws_cdk import aws_lakeformation as lakeformation
from aws_cdk import aws_scheduler as scheduler
from aws_cdk import aws_ssm as ssm
from constructs import Construct


Expand Down Expand Up @@ -598,7 +598,7 @@ def __init__(self, scope: Construct, id: str, **kwargs) -> None:
)
forwardeventbustrigger_role.attach_inline_policy(forwardeventbustrigger_role_policy)

forwardeventbus_rule = events.Rule(
events.Rule(
self,
"rForwardEventBusRule",
event_pattern=events.EventPattern(
Expand Down
Loading