File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 8282 run : cat doc.txt
8383
8484 - name : Check for errors and warnings
85- continue-on-error : true
8685 run : |
8786 if [[ $(grep ERROR doc.txt | grep -v 'Unknown target name: "l_shape"' | grep -v 'Unknown target name: "l_x"') ]]; then
8887 echo "Documentation produces errors."
Original file line number Diff line number Diff line change 1+ name : Type annotation with mypy
2+ on : [push, pull_request]
3+ jobs :
4+ mypy :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - uses : actions/setup-python@v4
9+ with :
10+ python-version : ' 3.12'
11+ - name : Install mypy
12+ run : pip install mypy
13+ - name : Run mypy
14+ run : mypy
Original file line number Diff line number Diff line change 108108 ("py:class" , "default=sklearn.utils.metadata_routing.UNCHANGED" ),
109109 ("py:class" , "ModelProto" ),
110110 ("py:class" , "Module" ),
111+ ("py:class" , "numpy._typing._nested_sequence._NestedSequence" ),
111112 ("py:class" , "torch.fx.passes.operator_support.OperatorSupport" ),
112113 ("py:class" , "torch.fx.proxy.TracerBase" ),
113114 ("py:class" , "torch.utils._pytree.Context" ),
You can’t perform that action at this time.
0 commit comments