Skip to content

Commit a90af60

Browse files
authored
Merge pull request #62 from saltastroops/suppress-untyped-library-errors
Suppress mypy errors due to untyped libraries
2 parents bebb963 + 14aed49 commit a90af60

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ lt = [
3333
]
3434

3535
[tool.pytest.ini_options]
36-
addopts = ["--import-mode=importlib", "-m not online"]
36+
addopts = ["--import-mode=importlib", "-m not online"]
3737
markers = [
3838
"online: Marks tests that run online, for example, validating schemas",
3939
"side_effect: Online tests that have side effects such as creating observation requests",
@@ -54,3 +54,15 @@ exclude = [
5454
reportExplicitAny = false
5555
reportAny = false
5656
reportMissingTypeStubs = false
57+
58+
[[tool.mypy.overrides]]
59+
module = "astropy.*"
60+
ignore_missing_imports = true
61+
62+
[[tool.mypy.overrides]]
63+
module = "p2api"
64+
ignore_missing_imports = true
65+
66+
[[tool.mypy.overrides]]
67+
module = "suds.client"
68+
ignore_missing_imports = true

0 commit comments

Comments
 (0)