Skip to content

Commit

Permalink
Type check entire staticx package
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathonReinhart committed Jan 16, 2024
1 parent a9ad752 commit 35d08c5
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,28 +59,7 @@ python_version = "3.7"
mypy_path = "$MYPY_CONFIG_FILE_DIR/stubs"
warn_unused_configs = true
warn_return_any = true
# TODO: Use staticx package when all modules have been updated.
#packages = ["staticx"]
modules = [
"staticx", # __init__.py
"staticx.__main__",
"staticx.api",
"staticx.archive",
"staticx.assets",
"staticx.bcjfilter",
"staticx.constants",
"staticx.elf",
"staticx.errors",
"staticx.extract",
"staticx.hooks",
"staticx.hooks.glibc",
"staticx.hooks.pyinstaller",
"staticx.utils",
"staticx.version",
]
# TODO: Remove when all modules have been updated.
follow_imports = 'silent'

packages = ["staticx"]

[[tool.mypy.overrides]]
module = "staticx.*"
Expand Down

0 comments on commit 35d08c5

Please sign in to comment.