Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing type validation #292

Closed
ghost opened this issue Jun 18, 2023 · 1 comment
Closed

Missing type validation #292

ghost opened this issue Jun 18, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 18, 2023

Although type hints are used throughout the package, there doesn't seem to be any type validation being done.

Running mypy for the podman package currently returns quite a few type errors:

$ mypy --package podman
...
Found 152 errors in 22 files (checked 74 source files)

The number of errors will be bigger or smaller depending on the mypy config that is used. Also, specific lines/modules can be ignored if they shouldn't be checked. Lastly, perhaps mypy is not the type checking tool that is to be used.

@umohnani8
Copy link
Member

Duplicate of #293, closing in favor of that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant