Skip to content

Commit 6bc0d25

Browse files
committed
fix: resolve lint errors
1 parent bf159a2 commit 6bc0d25

File tree

5 files changed

+41
-15
lines changed

5 files changed

+41
-15
lines changed

.checkov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ skip-check:
2727
- CKV_AWS_272
2828

2929
# AWS-managed key encryption is sufficient and CMK not required for this service
30-
- CKV_AWS_149
30+
- CKV_AWS_149
3131

3232
# IAM user required for local development
33-
- CKV_AWS_273
33+
- CKV_AWS_273
3434

3535
# Key rotation is already provisioned by external module
36-
- CKV2_AWS_57
36+
- CKV2_AWS_57

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Further information can be found in [this project's documentation](/docs/index.m
8989
**Example Output:**
9090

9191
| REPOSITORY | TAG | IMAGE ID | CREATED | SIZE |
92-
|-----------------------------|--------|--------------|----------------|-------|
92+
| --------------------------- | ------ | ------------ | -------------- | ----- |
9393
| copilot-usage-lambda-script | latest | 0bbe73d9256f | 11 seconds ago | 224MB |
9494

9595
3. Run the image locally mapping local host port (9000) to container port (8080) and passing in AWS credentials to download a .pem file from the AWS Secrets Manager to the running container. These credentials will also be used to upload and download `historic_usage_data.json` to and from S3.
@@ -129,7 +129,7 @@ Further information can be found in [this project's documentation](/docs/index.m
129129
**Example output:**
130130

131131
| CONTAINER ID | IMAGE | COMMAND | CREATED | STATUS | PORTS | NAMES |
132-
|--------------|-----------------------------|------------------------|----------------|---------------|-------------------------------------------|--------------|
132+
| ------------ | --------------------------- | ---------------------- | -------------- | ------------- | ----------------------------------------- | ------------ |
133133
| 3f7d64676b1a | copilot-usage-lambda-script | "/lambda-entrypoint.…" | 44 seconds ago | Up 44 seconds | 0.0.0.0:9000->8080/tcp, :::9000->8080/tcp | nice_ritchie |
134134

135135
Stop the container

docs/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `config.json` file contains the following:
1111
"features": {
1212
"show_log_locally": false,
1313
"write_data_locally": false
14-
},
14+
}
1515
}
1616
```
1717

@@ -42,7 +42,7 @@ When testing locally, you might set the `config.json` file as follows:
4242
"features": {
4343
"show_log_locally": true,
4444
"write_data_locally": true
45-
},
45+
}
4646
}
4747
```
4848

@@ -55,7 +55,7 @@ When deploying to AWS, the `config.json` file should be set as follows:
5555
"features": {
5656
"show_log_locally": false,
5757
"write_data_locally": false
58-
},
58+
}
5959
}
6060
```
6161

poetry.lock

Lines changed: 32 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ python-dateutil = "^2.9.0.post0"
2323
s3transfer = "^0.13.1"
2424
six = "^1.17.0"
2525
urllib3 = "^2.6.0"
26+
yamllint = "^1.38.0"
2627

2728
[tool.poetry.group.dev.dependencies]
2829
black = "^24.8.0"

0 commit comments

Comments
 (0)