Skip to content

Commit

Permalink
Remove type stubs as source has type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed Feb 2, 2024
1 parent 122c551 commit f78189c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 78 deletions.
7 changes: 1 addition & 6 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SHELL := bash
MAKEFLAGS += --no-builtin-rules \
--warn-undefined-variables

.PHONY: dist pytest test typeshed
.PHONY: dist pytest test

dist:
if ! python3 -m pip freeze | grep -q build; then python3 -m pip install --upgrade build; fi
Expand All @@ -14,11 +14,6 @@ install_dev:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade --editable=./

typeshed:
if ! command -v stubgen &>/dev/null; then python3 -m pip install --upgrade mypy; fi
stubgen --output=src/inject --search-path=src src/inject
mv -f src/inject/inject.pyi src/inject/__init__.pyi

upload:
if ! python3 -m pip freeze | grep -q twine; then python3 -m pip install --upgrade twine; fi
python3 -m twine upload dist/*
Expand Down
72 changes: 0 additions & 72 deletions src/inject/__init__.pyi

This file was deleted.

0 comments on commit f78189c

Please sign in to comment.