Skip to content

Commit 3c12f0a

Browse files
committed
Added typechecks to CI. Updated pyproject.toml
1 parent d71ae86 commit 3c12f0a

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/test-unit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
run: |
5050
python -m pip install -e .[dev]
5151
52+
- name: Run typechecks
53+
run: |
54+
mypy src tests --ignore-missing-imports
55+
5256
- name: Run tests and code coverage
5357
run: |
5458
coverage run --source=src -m pytest tests/test_unit_*.py

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ Homepage = "https://github.com/lucasimi/tda-mapper-python"
7272
Documentation = "https://tda-mapper.readthedocs.io"
7373
Issues = "https://github.com/lucasimi/tda-mapper-python/issues"
7474

75+
[tool.setuptools.packages.find]
76+
where = ["src"]
77+
78+
[tool.setuptools.package-data]
79+
"tdamapper" = ["py.typed"]
80+
7581
[tool.coverage.run]
7682
omit = [
7783
"**/_*.py",

src/tdamapper/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)