Skip to content

Commit e218ed8

Browse files
committed
Update Makefile
1 parent 1d4696d commit e218ed8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ recursive-include src/ py.typed
2828
# Include test configuration
2929
include test/conftest.py
3030

31-
prune .venv
31+
prune .venv

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ black-fix: $(MARKER_REQUIREMENTS_SYNCED_DEVTIME)
179179
.PHONY: mypy
180180
mypy: # Run mypy type-checker
181181
mypy: $(MARKER_REQUIREMENTS_SYNCED_DEVTIME)
182-
$(PY_IN_VENV_EXE) -m mypy --config-file setup.cfg $(package_dir)
182+
$(PY_IN_VENV_EXE) -m mypy --config-file setup.cfg --namespace-packages -p $(package)
183183

184184

185185
# ==================== Building ====================
@@ -193,7 +193,7 @@ build: $(MARKER_REQUIREMENTS_SYNCED_DEVTIME)
193193

194194
.PHONY: test
195195
test: $(MARKER_REQUIREMENTS_SYNCED_DEVTIME)
196-
$(PY_IN_VENV_EXE) -m pytest --cov=. --cov-fail-under=$(coverage_percent) --cov-config=setup.cfg --cov-report=xml:coverage.xml --cov-report=term-missing --cov-branch $(package_dir) $(test_dir)
196+
$(PY_IN_VENV_EXE) -m pytest --cov=src --cov-fail-under=$(coverage_percent) --cov-config=setup.cfg --cov-report=xml:coverage.xml --cov-report=term-missing --cov-branch $(package_dir) $(test_dir)
197197

198198

199199
# ==================== Publishing ====================

requirements-devtime.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ pytest-cov
1515
twine
1616

1717
# self
18-
-e .
18+
-e .

0 commit comments

Comments
 (0)