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
description: Report a static type mismatch caught by a static type checker
3
+
title: "Static typing: TITLE"
4
+
labels: ["static_typing", "triage"]
5
+
body:
6
+
- type: markdown
7
+
attributes:
8
+
value: |
9
+
Thank you for submitting a static typing report. Please add as much information as possible to help us reproduce.
10
+
11
+
Our preferred static type checker is [Mypy](https://mypy.readthedocs.io/en/stable/) using the following [configuration](https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/mypy.ini).
12
+
- type: dropdown
13
+
id: tool
14
+
attributes:
15
+
label: Static type checker used
16
+
options:
17
+
- label: "mypy (project's standard)"
18
+
- label: "pyright/pylance"
19
+
- label: "pyre"
20
+
- label: "pytype"
21
+
validations:
22
+
required: true
23
+
- type: dropdown
24
+
id: runtime
25
+
attributes:
26
+
label: AWS Lambda function runtime
27
+
options:
28
+
- label: "3.6"
29
+
- label: "3.7"
30
+
- label: "3.8"
31
+
- label: "3.9"
32
+
validations:
33
+
required: true
34
+
- type: input
35
+
id: version
36
+
attributes:
37
+
label: AWS Lambda Powertools for Python version
38
+
placeholder: "latest, 1.25.6"
39
+
value: latest
40
+
validations:
41
+
required: true
42
+
- type: textarea
43
+
id: output
44
+
attributes:
45
+
label: Static type checker info
46
+
description: Please share your static type checker's output, its configuration, and how you typically run it
47
+
validations:
48
+
required: true
49
+
- type: textarea
50
+
id: code_snippet
51
+
attributes:
52
+
label: Code snippet
53
+
description: Please share a code snippet to help us reproduce the issue
54
+
render: python
55
+
validations:
56
+
required: true
57
+
- type: textarea
58
+
id: solution
59
+
attributes:
60
+
label: Possible Solution
61
+
description: If known, please suggest a potential resolution
0 commit comments