File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -105,14 +105,26 @@ matrix.rf.dependencies = [
105
105
[envs .lint ]
106
106
# skip-install = true
107
107
# extra-dependencies = ["tomli>=2.0.0"]
108
+ extra-dependencies = [
109
+ " types-PyYAML" ,
110
+ " types-Pygments" ,
111
+ " types-colorama" ,
112
+ " types-docutils" ,
113
+ " types-setuptools" ,
114
+ ]
108
115
features = [" all" ]
109
116
117
+
110
118
[envs .lint .scripts ]
111
- typing = [" mypy --install-types --non-interactive {args:.}" , " npm run compile" ]
119
+ typing-py = " mypy --no-incremental --cache-dir /dev/null {args:.}"
120
+ typing = [" typing-py" , " npm run compile" ]
112
121
style = [" ruff ." , " black --check --diff ." , " npx eslint ." ]
113
122
fmt = [" black ." , " ruff --fix ." , " style" , " npx eslint --fix ." ]
114
123
all = [" style" , " typing" ]
115
124
125
+ [envs .lint .overrides ]
126
+ platform.windows.scripts = [" typing-py=mypy --no-incremental --cache-dir nul {args:.}" ]
127
+
116
128
[envs .pages ]
117
129
python = " 3.11"
118
130
# detached = true
You can’t perform that action at this time.
0 commit comments