Skip to content

Commit 91d114b

Browse files
authored
Merge branch 'aws-samples:main' into main
2 parents 6ac18e8 + 65ba130 commit 91d114b

File tree

272 files changed

+24106
-11988
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+24106
-11988
lines changed

.flake8

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[flake8]
22
max-line-length = 150
3+
max-complexity = 10
4+
max-cognitive-complexity = 10
35
max-parameters-amount = 7
46
min_python_version = 3.9.0
57
copyright-regexp = Copyright Amazon.com, Inc\..*
@@ -13,8 +15,9 @@ select = A,B,B9,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,
1315

1416
# disable below checks:
1517
ignore =
16-
FS003 # f-string missing prefix (false positives with raw strings)
17-
T003: # add link on issue into TODO
18+
FS003, # f-string missing prefix (false positives with raw strings)
19+
T003, # add link on issue into TODO
20+
W503 # Line break occurred before binary operator
1821

1922
# disable flake8 checks for Lambda function source code that will be used inline. (max 4096 characters)
2023
per-file-ignores =

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
11
---
22
name: Bug
33
about: Report a bug
4-
title: "[BUG] "
4+
title: '[BUG] '
55
labels: bug
66
assignees: ''
7-
87
---
98

109
### Describe the bug
10+
1111
A clear and concise description of what the bug is.
1212

1313
### To Reproduce
14+
1415
Steps to reproduce the behavior:
16+
1517
1. Go to '...'
1618
2. Click on '....'
1719
3. Scroll down to '....'
1820
4. See error
1921

2022
### Expected behavior
23+
2124
A clear and concise description of what you expected to happen.
2225

2326
### Screenshots
27+
2428
If applicable, add screenshots to help explain your problem.
2529

26-
### Deployment Environment (please complete the following information):
27-
- Deployment Framework [e.g. Customizations for Control Tower and CloudFormation StackSets]:
28-
- Deployment Framework Version [e.g. 1.0, 2.0]:
30+
### Deployment Environment (please complete the following information)
31+
32+
- Deployment Framework [e.g. Customizations for Control Tower and CloudFormation StackSets]:
33+
- Deployment Framework Version [e.g. 1.0, 2.0]:
2934

3035
### Additional context
36+
3137
Add any other context about the problem here.
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: "[FEATURE] "
4+
title: '[FEATURE] '
55
labels: feature
66
assignees: ''
7-
87
---
98

10-
### Is your feature request related to a problem? Please describe.
9+
### Is your feature request related to a problem? Please describe
10+
1111
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
1212

1313
### Describe the solution you'd like
14+
1415
A clear and concise description of what you want to happen.
1516

1617
### Describe alternatives you've considered
18+
1719
A clear and concise description of any alternative solutions or features you've considered.
1820

1921
### Additional context
22+
2023
Add any other context or screenshots about the feature request here. e.g. link to a new AWS feature

.github/ISSUE_TEMPLATE/guidance.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Guidance
33
about: Ask a guidance question
4-
title: "[Guidance]"
4+
title: '[Guidance]'
55
labels: question
66
assignees: ''
7-
87
---
98

109
<!--
@@ -18,6 +17,7 @@ clarification, instead of filing a new issue.
1817
-->
1918

2019
### The Question
20+
2121
<!--
2222
Ask your question here. Include any details relevant. Make sure you are not
2323
falling prey to the [X/Y problem][2]!
@@ -27,8 +27,9 @@ falling prey to the [X/Y problem][2]!
2727

2828
### Environment
2929

30-
- **Example:** <!-- Name of the example in question -->
31-
- **Framework** <!-- [all | Customizations for Control Tower | CloudFormation StackSets | etc... ] -->
30+
- **Example:** <!-- Name of the example in question -->
31+
- **Framework** <!-- [all | Customizations for Control Tower | CloudFormation StackSets | etc... ] -->
32+
33+
### Other information
3234

33-
### Other information
3435
<!-- e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
<!-- markdownlint-disable MD041 -->
12
<!--
23
Explain what changed and why.
34
4-
Please read the [Contribution guidelines][1], use the [General Contributing Guidance] checklist,
5+
Please read the [Contribution guidelines][1], use the [General Contributing Guidance] checklist,
56
and follow the pull-request checklist.
67
78
[1]: https://github.com/aws-samples/aws-security-reference-architecture-examples/blob/master/CONTRIBUTING.md
@@ -14,4 +15,4 @@ Fixes # <!-- Please create a new issue if none exists yet -->
1415

1516
By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].
1617

17-
[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
18+
[Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0)

0 commit comments

Comments
 (0)