Skip to content

Commit 21d33dc

Browse files
committed
fix: remove error suppression for cfn-lint command. Removed uv build-system configuration for Approvals and Contracts
1 parent 812cede commit 21d33dc

File tree

6 files changed

+666
-662
lines changed

6 files changed

+666
-662
lines changed

unicorn_approvals/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ stackName := $(shell yq -r '.default.global.parameters.stack_name' samconfig.to
99
build:
1010
ruff format
1111
sam validate --lint
12-
cfn-lint template.yaml -a cfn_lint_serverless.rules || true
12+
cfn-lint template.yaml -a cfn_lint_serverless.rules
1313
uv export --no-hashes --format=requirements-txt --output-file=src/requirements.txt
1414
sam build -c $(DOCKER_OPTS)
1515

unicorn_approvals/pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,3 @@ minversion = "7.0"
3535
addopts = "-ra -vv -W ignore::UserWarning"
3636
testpaths = ["tests/unit", "tests/integration"]
3737
pythonpath = ["."]
38-
39-
[build-system]
40-
requires = ["uv_build"]
41-
build-backend = "uv_build"

unicorn_approvals/template.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Metadata:
1616
- WS2001 # Rule disabled because check does not support !ToJsonString transform
1717
- ES1001 # Rule disabled because our Lambda functions don't need DestinationConfig.OnFailure
1818
- W3002 # Rule disabled as nested templates are being packaged
19-
- E3030 # Rule disabled due to using cfn-lint-serverless rules v0.3
2019

2120
Parameters:
2221
Stage:

0 commit comments

Comments
 (0)