Skip to content

Commit 48dfa97

Browse files
committed
Update mypy configuration and workflow
1 parent eaf8530 commit 48dfa97

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/mypy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
with:
1515
python-version: '3.x'
1616
- run: pip install mypy
17-
- name: Install type stubs for third-party packages
18-
run: mypy --install-types src
19-
- name: mypy main
20-
run: mypy --ignore-missing-imports src
17+
- name: Type checking and install type stubs for third-party packages
18+
run: mypy --install-types --non-interactive src
2119

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ exclude = ["prov/tests/*"]
104104
module = "prov.*"
105105
disallow_untyped_defs = true
106106
check_untyped_defs = true
107+
ignore_missing_imports = true

0 commit comments

Comments
 (0)