Skip to content

Commit e2c38bc

Browse files
committed
ci: install types-requests and ignore missing stomp types in mypy config
Adds types-requests to the PR build workflow to resolve missing stubs. Updates pyproject.toml to silence mypy errors for stomp imports.
1 parent 7e733eb commit e2c38bc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
python -m pip install --upgrade pip
3434
pip install .
35-
pip install mypy
35+
pip install mypy types-requests
3636
3737
- name: Type check with mypy
3838
run: |

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ dependencies = [
1919

2020
[tool.setuptools.packages.find]
2121
where = ["src"]
22+
23+
[[tool.mypy.overrides]]
24+
module = "stomp.*"
25+
ignore_missing_imports = true

0 commit comments

Comments
 (0)