Skip to content

Commit c0c2f2c

Browse files
committed
added basic (still broken) typing tests
1 parent 74a3049 commit c0c2f2c

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ exclude_lines =
2222
raise NotImplementedError
2323
if 0:
2424
if __name__ == .__main__.:
25+
if types.TYPE_CHECKING:

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install tox tox-gh-actions
2625
- name: Test with tox
2726
run: tox

progressbar/py.typed

Whitespace-only changes.

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ basepython = python3
2121
deps = flake8
2222
commands = flake8 {toxinidir}/progressbar {toxinidir}/tests {toxinidir}/examples.py
2323

24+
[testenv:pyright]
25+
changedir =
26+
basepython = python3
27+
deps = pyright
28+
commands = pyright {toxinidir}/progressbar
29+
2430
[testenv:docs]
2531
changedir =
2632
basepython = python3

0 commit comments

Comments
 (0)