Skip to content

Commit

Permalink
[pyproject] Add mypy support
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Apr 28, 2024
1 parent ff0a948 commit b00c262
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,28 @@ build-backend = "setuptools.build_meta"
version = { attr = "font_collector._version.__version__" }

[tool.setuptools.packages.find]
include = ["font_collector*"]
include = ["font_collector*"]

[tool.mypy]
warn_unused_configs = true
strict = true

[[tool.mypy.overrides]]
module = "ass.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ass_tag_analyzer.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "find_system_fonts_filename.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "fontTools.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "freetype.*"
ignore_missing_imports = true

0 comments on commit b00c262

Please sign in to comment.