You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
-
*Issue #, if available:*
1
+
### Issue #, if available
2
2
3
-
*Description of changes:*
3
+
### Description of changes
4
4
5
-
*Description of how you validated changes:*
5
+
### Description of how you validated changes
6
6
7
-
*Checklist:*
7
+
### Checklist
8
8
9
+
-[ ] Adheres to the [development guidelines](https://github.com/aws/serverless-application-model/blob/develop/DEVELOPMENT_GUIDE.md#development-guidelines)
-[ ] Verify transformed template deploys and application functions as expected
17
17
-[ ] Do these changes include any template validations?
18
18
-[ ] Did the newly validated properties support intrinsics prior to adding the validations? (If unsure, please review [Intrinsic Functions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html) before proceeding).
19
19
- [] Does the pull request ensure that intrinsics remain functional with the new validations?
20
20
21
-
*Examples?*
21
+
### Examples?
22
22
23
23
Please reach out in the comments, if you want to add an example. Examples will be
24
24
added to `sam init` through https://github.com/awslabs/aws-sam-cli-app-templates/
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38
+
39
+
steps:
40
+
- name: Checkout repository
41
+
uses: actions/checkout@v3
42
+
43
+
# Initializes the CodeQL tools for scanning.
44
+
- name: Initialize CodeQL
45
+
uses: github/codeql-action/init@v2
46
+
with:
47
+
languages: ${{ matrix.language }}
48
+
# If you wish to specify custom queries, you can do so here or in a config file.
49
+
# By default, queries listed here will override any specified in a config file.
50
+
# Prefix the list here with "+" to use these queries and those in the config file.
51
+
52
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
+
# queries: security-extended,security-and-quality
54
+
55
+
56
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
+
# If this step fails, then you should remove it and run the build manually (see below)
58
+
- name: Autobuild
59
+
uses: github/codeql-action/autobuild@v2
60
+
61
+
# ℹ️ Command-line programs to run using the OS shell.
62
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
+
64
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
65
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
Copy file name to clipboardExpand all lines: .pylintrc
+1-95Lines changed: 1 addition & 95 deletions
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,6 @@ unsafe-load-any-extension=no
35
35
# run arbitrary code
36
36
extension-pkg-whitelist=
37
37
38
-
# Allow optimization of some AST trees. This will activate a peephole AST
39
-
# optimizer, which will apply various small optimizations. For instance, it can
40
-
# be used to obtain the result of joining multiple strings with the addition
41
-
# operator. Joining a lot of strings can lead to a maximum recursion error in
42
-
# Pylint and this flag can prevent that. It has one side effect, the resulting
43
-
# AST will be different than the one from reality.
44
-
optimize-ast=no
45
-
46
38
47
39
[MESSAGES CONTROL]
48
40
@@ -65,56 +57,31 @@ confidence=
65
57
# no Warning level messages displayed, use"--disable=all --enable=classes
66
58
# --disable=W"
67
59
disable=
60
+
C0209, # consider-using-f-string. There are too many of them
68
61
W0613, # Unused argument %r
69
62
W0640, # Cell variable %s defined in loop A variable used in a closure is defined in a loop
70
63
R0902, # Too many instance attributes (%s/%s)
71
-
R0903, # Too few public methods (%s/%s)
72
64
R0913, # Too many arguments (%s/%s)
73
65
W0703, # Catching too general exception %s
74
66
R0904, # Too many public methods (%s/%s)
75
67
R0914, # Too many local variables (%s/%s)
76
68
R0915, # Too many statements
77
69
C0415, # Import outside toplevel (%s) Used when an import statement is used anywhere other than the module toplevel. Move this import to the top of the file.
78
70
C0115, # missing-class-docstring
79
-
# below are docstring lint rules, in order to incrementally improve our docstring while
80
-
# without introduce too much effort at a time, we exclude most of the docstring lint rules.
81
-
# We will remove them one by one.
82
-
# W9005, # "%s" has constructor parameters documented in class and __init__
83
71
W9006, # "%s" not documented as being raised
84
-
# W9008, # Redundant returns documentation
85
-
# W9010, # Redundant yields documentation
86
72
W9011, # Missing return documentation
87
73
W9012, # Missing return type documentation
88
-
# W9013, # Missing yield documentation
89
-
# W9014, # Missing yield type documentation
90
-
# W9015, # "%s" missing in parameter documentation
91
74
W9016, # "%s" missing in parameter type documentation
92
-
# W9017, # "%s" differing in parameter documentation
93
-
# W9018, # "%s" differing in parameter type documentation
# W9020, # "%s" useless ignored parameter type documentation
96
-
# Constant name style warnings. We will remove them one by one.
97
75
C0103, # Class constant name "%s" doesn't conform to UPPER_CASE naming style ('([^\\W\\da-z][^\\Wa-z]*|__.*__)$' pattern) (invalid-name)
98
-
# New recommendations, disable for now to avoid introducing behaviour changes.
99
-
R1729, # Use a generator instead '%s' (use-a-generator)
100
-
R1732, # Consider using 'with' for resource-allocating operations (consider-using-with)
101
-
# This applies to CPython only.
102
-
I1101, # Module 'math' has no 'pow' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member)
103
-
# Added to allow linting. Need to work on removing over time
104
-
R0801, # dupilcated code
105
76
R0401, # Cyclic import
106
77
C0411, # import ordering
107
78
W9015, # missing parameter in doc strings
108
-
W0612, # unused variable
109
79
R0205, # useless-object-inheritanc
110
80
C0301, # line to long
111
-
R0201, # no self use, method could be a function
112
81
C0114, # missing-module-docstring
113
82
W1202, # Use lazy % formatting in logging functions (logging-format-interpolation)
0 commit comments