Skip to content

Commit

Permalink
Merge pull request #328 from jenshnielsen/better_ignore
Browse files Browse the repository at this point in the history
Mypy: Only ignore missing imports for packages known to not have types
  • Loading branch information
jenshnielsen committed Sep 27, 2022
2 parents 034dded + 1d6128a commit c64b3fa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ build-backend = 'setuptools.build_meta'

[tool.mypy]
strict_optional = true
ignore_missing_imports = true
show_column_numbers = true
warn_unused_ignores = true
warn_unused_configs = true
Expand All @@ -27,6 +26,16 @@ module = [
]
ignore_errors = true

[[tool.mypy.overrides]]
module = [
"h5py",
"lmfit",
"matplotlib.*",
"pyqtgraph.*",
"xhistogram.*",
]
ignore_missing_imports = true

[tool.versioningit]
default-version = "0.0"

Expand Down

0 comments on commit c64b3fa

Please sign in to comment.