File tree 8 files changed +32
-8
lines changed
production_python_smart_contract_python
production_python_smart_contract_typescript
8 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 22
22
require_serial : false
23
23
additional_dependencies : [ ]
24
24
minimum_pre_commit_version : ' 0'
25
- files : ' ^(src |tests)/'
25
+ files : ' ^(smart_contracts |tests)/'
26
26
27
27
28
28
- id : mypy
34
34
require_serial : true
35
35
additional_dependencies : [ ]
36
36
minimum_pre_commit_version : ' 2.9.2'
37
- files : ' ^(src |tests)/'
37
+ files : ' ^(smart_contracts |tests)/'
38
38
39
39
# # Uncomment to enable TEAL static analysis using Tealer package
40
40
# - id: tealer
Original file line number Diff line number Diff line change @@ -62,3 +62,9 @@ disallow_any_unimported = true
62
62
disallow_any_expr = true
63
63
disallow_any_decorated = true
64
64
disallow_any_explicit = true
65
+ untyped_calls_exclude = [" algosdk" ]
66
+ # Remove if you prefer to use mypy's default behavior against
67
+ # untyped algosdk types
68
+ [[tool .mypy .overrides ]]
69
+ module = " tests.*"
70
+ disallow_any_expr = false
Original file line number Diff line number Diff line change 22
22
require_serial : false
23
23
additional_dependencies : [ ]
24
24
minimum_pre_commit_version : ' 0'
25
- files : ' ^(src |tests)/'
25
+ files : ' ^(smart_contracts |tests)/'
26
26
27
27
28
28
- id : mypy
34
34
require_serial : true
35
35
additional_dependencies : [ ]
36
36
minimum_pre_commit_version : ' 2.9.2'
37
- files : ' ^(src |tests)/'
37
+ files : ' ^(smart_contracts |tests)/'
38
38
39
39
# # Uncomment to enable TEAL static analysis using Tealer package
40
40
# - id: tealer
Original file line number Diff line number Diff line change @@ -56,3 +56,9 @@ disallow_any_unimported = true
56
56
disallow_any_expr = true
57
57
disallow_any_decorated = true
58
58
disallow_any_explicit = true
59
+ untyped_calls_exclude = [" algosdk" ]
60
+ # Remove if you prefer to use mypy's default behavior against
61
+ # untyped algosdk types
62
+ [[tool .mypy .overrides ]]
63
+ module = " tests.*"
64
+ disallow_any_expr = false
Original file line number Diff line number Diff line change 22
22
require_serial : false
23
23
additional_dependencies : [ ]
24
24
minimum_pre_commit_version : ' 0'
25
- files : ' ^(src |tests)/'
25
+ files : ' ^(smart_contracts |tests)/'
26
26
27
27
28
28
- id : mypy
34
34
require_serial : true
35
35
additional_dependencies : [ ]
36
36
minimum_pre_commit_version : ' 2.9.2'
37
- files : ' ^(src |tests)/'
37
+ files : ' ^(smart_contracts |tests)/'
38
38
39
39
# # Uncomment to enable TEAL static analysis using Tealer package
40
40
# - id: tealer
Original file line number Diff line number Diff line change @@ -62,3 +62,9 @@ disallow_any_unimported = true
62
62
disallow_any_expr = true
63
63
disallow_any_decorated = true
64
64
disallow_any_explicit = true
65
+ untyped_calls_exclude = [" algosdk" ]
66
+ # Remove if you prefer to use mypy's default behavior against
67
+ # untyped algosdk types
68
+ [[tool .mypy .overrides ]]
69
+ module = " tests.*"
70
+ disallow_any_expr = false
Original file line number Diff line number Diff line change @@ -81,4 +81,10 @@ disallow_any_unimported = true
81
81
disallow_any_expr = true
82
82
disallow_any_decorated = true
83
83
disallow_any_explicit = true
84
+ untyped_calls_exclude = ["algosdk"]
85
+ # Remove if you prefer to use mypy's default behavior against
86
+ # untyped algosdk types
87
+ [[tool.mypy.overrides]]
88
+ module = "tests.*"
89
+ disallow_any_expr = false
84
90
{% endif -%}
Original file line number Diff line number Diff line change 22
22
require_serial: false
23
23
additional_dependencies: [ ]
24
24
minimum_pre_commit_version: '0'
25
- files: '^(src |tests)/'
25
+ files: '^(smart_contracts |tests)/'
26
26
{% endif %}
27
27
{% if use_python_mypy %}
28
28
- id: mypy
34
34
require_serial: true
35
35
additional_dependencies: [ ]
36
36
minimum_pre_commit_version: '2.9.2'
37
- files: '^(src |tests)/'
37
+ files: '^(smart_contracts |tests)/'
38
38
{% endif %}
39
39
# # Uncomment to enable TEAL static analysis using Tealer package
40
40
# - id: tealer
You can’t perform that action at this time.
0 commit comments