Skip to content

Commit 322d16c

Browse files
authored
Consolidate our typeshed (#1417)
1 parent 667943c commit 322d16c

File tree

467 files changed

+1057
-4512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

467 files changed

+1057
-4512
lines changed

Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,14 @@ mypy3: mypy
160160
mypy: $(filter-out setup.py gittagger.py,${PYSOURCES})
161161
if ! test -f $(shell python3 -c 'import ruamel.yaml; import os.path; print(os.path.dirname(ruamel.yaml.__file__))')/py.typed ; \
162162
then \
163-
rm -Rf typeshed/2and3/ruamel/yaml ; \
163+
rm -Rf typeshed/ruamel/yaml ; \
164164
ln -s $(shell python3 -c 'import ruamel.yaml; import os.path; print(os.path.dirname(ruamel.yaml.__file__))') \
165-
typeshed/2and3/ruamel/ ; \
165+
typeshed/ruamel/ ; \
166166
fi # if minimally required ruamel.yaml version is 0.15.99 or greater, than the above can be removed
167-
MYPYPATH=$$MYPYPATH:typeshed/3:typeshed/2and3 mypy --disallow-untyped-calls \
168-
--warn-redundant-casts \
169-
$^
167+
MYPYPATH=$$MYPYPATH:typeshed mypy $^
170168

171169
mypyc: ${PYSOURCES}
172-
MYPYPATH=typeshed/2and3/:typeshed/3 CWLTOOL_USE_MYPYC=1 pip install --verbose -e . && pytest --ignore cwltool/schemas --basetemp ./tmp
170+
MYPYPATH=typeshed CWLTOOL_USE_MYPYC=1 pip install --verbose -e . && pytest --ignore cwltool/schemas --basetemp ./tmp
173171

174172
shellcheck: FORCE
175173
shellcheck build-cwl-docker.sh cwl-docker.sh release-test.sh conformance-test.sh \

typeshed/2and3/ctypes/__init__.pyi

Lines changed: 0 additions & 277 deletions
This file was deleted.

typeshed/2and3/ctypes/util.pyi

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)