@@ -35,7 +35,7 @@ python = ">=3.8,<3.11"
35
35
types-pytz = " >= 2022.1.1"
36
36
37
37
[tool .poetry .dev-dependencies ]
38
- mypy = " >=0.961 "
38
+ mypy = " >=0.971 "
39
39
pytest = " >=7.1.2"
40
40
pyright = " >=1.1.255"
41
41
poethepoet = " >=0.13.1"
@@ -53,36 +53,15 @@ build-backend = "poetry.core.masonry.api"
53
53
54
54
[tool .poe .tasks .test_all ]
55
55
help = " Run all tests"
56
- script = " scripts.test:test(clean_cache, src=True, dist=True)"
57
-
58
- [[tool .poe .tasks .test_all .args ]]
59
- help = " remove cache folders (mypy and pytest)"
60
- name = " clean-cache"
61
- options = [" -c" , " --clean_cache" ]
62
- default = false
63
- type = " boolean"
56
+ script = " scripts.test:test(src=True, dist=True)"
64
57
65
58
[tool .poe .tasks .test_src ]
66
59
help = " Run local tests (includes 'mypy_src', 'pyright_src', 'pytest', and 'style')"
67
- script = " scripts.test:test(clean_cache, src=True)"
68
-
69
- [[tool .poe .tasks .test_src .args ]]
70
- help = " remove cache folders (mypy and pytest)"
71
- name = " clean-cache"
72
- options = [" -c" , " --clean_cache" ]
73
- default = false
74
- type = " boolean"
60
+ script = " scripts.test:test(src=True)"
75
61
76
62
[tool .poe .tasks .test_dist ]
77
63
help = " Run tests on the installed stubs (includes 'mypy_dist' and 'pyright_dist')"
78
- script = " scripts.test:test(clean_cache, dist=True)"
79
-
80
- [[tool .poe .tasks .test_dist .args ]]
81
- help = " remove cache folders (mypy and pytest)"
82
- name = " clean-cache"
83
- options = [" -c" , " --clean_cache" ]
84
- default = false
85
- type = " boolean"
64
+ script = " scripts.test:test(dist=True)"
86
65
87
66
[tool .poe .tasks .pytest ]
88
67
help = " Run pytest"
@@ -98,15 +77,15 @@ script = "scripts.test.run:mypy_src"
98
77
99
78
[tool .poe .tasks .mypy_dist ]
100
79
help = " Run mypy on 'tests' using the installed stubs"
101
- script = " scripts.test:test(clean_cache=False, dist=True, type_checker='mypy')"
80
+ script = " scripts.test:test(dist=True, type_checker='mypy')"
102
81
103
82
[tool .poe .tasks .pyright_src ]
104
83
help = " Run pyright on 'tests' (using the local stubs) and on the local stubs"
105
84
script = " scripts.test.run:pyright_src"
106
85
107
86
[tool .poe .tasks .pyright_dist ]
108
87
help = " Run pyright on 'tests' using the installed stubs"
109
- script = " scripts.test:test(clean_cache=False, dist=True, type_checker='pyright')"
88
+ script = " scripts.test:test(dist=True, type_checker='pyright')"
110
89
111
90
112
91
0 commit comments