Skip to content

Commit

Permalink
Enabling yamllint in tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Javy de Koning committed May 24, 2022
1 parent 93a1ff8 commit 40123cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ test:
lint:
# Linter performs static analysis to catch latent bugs
find src/ -iname "*.py" -not -path "src/.aws-sam/*" | xargs pylint --rcfile .pylintrc
find src -iname "*.yml" -o -iname "*.yaml" -not -path "src/.aws-sam/*" | xargs yamllint -c .yamllint

build:
sam build -u
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pytest~=6.2.5
pyyaml>=5.4.1
schema~=0.7.5
tox==3.24.4
yamllint~=1.26.3
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ Resources:
- aws.codecommit
detail-type:
- "CodeCommit Repository State Change"
resources:
resources:
- !Sub "arn:${AWS::Partition}:codecommit:${AWS::Region}:${AWS::AccountId}:${CodeCommitRepository.Name}"
detail:
event:
Expand Down

0 comments on commit 40123cd

Please sign in to comment.