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

Hoard of mypy errors #24

Closed
jaraco opened this issue Aug 21, 2024 · 2 comments
Closed

Hoard of mypy errors #24

jaraco opened this issue Aug 21, 2024 · 2 comments

Comments

@jaraco
Copy link
Owner

jaraco commented Aug 21, 2024

With the recent merge of skeleton, a whole slew of errors are coming from mypy:

_______________________________________________________ jaraco/develop/add-github-secret.py _______________________________________________________
4: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
______________________________________________________ jaraco/develop/add-github-secrets.py _______________________________________________________
7: error: Skipping analyzing "jaraco.context": module is installed, but missing library stubs or py.typed marker  [import-untyped]
8: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
__________________________________________________________ jaraco/develop/add-project.py __________________________________________________________
10: error: Skipping analyzing "jaraco.text": module is installed, but missing library stubs or py.typed marker  [import-untyped]
11: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
_________________________________________________________ jaraco/develop/checkout-all.py __________________________________________________________
6: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
___________________________________________________________ jaraco/develop/compiler.py ____________________________________________________________
6: error: Skipping analyzing "setuptools._distutils": module is installed, but missing library stubs or py.typed marker  [import-untyped]
8: error: Skipping analyzing "jaraco.ui.editor": module is installed, but missing library stubs or py.typed marker  [import-untyped]
_________________________________________________________ jaraco/develop/cpython-sync.py __________________________________________________________
11: error: Skipping analyzing "requests_toolbelt": module is installed, but missing library stubs or py.typed marker  [import-untyped]
13: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
_____________________________________________________ jaraco/develop/create-github-release.py _____________________________________________________
2: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
___________________________________________________________ jaraco/develop/finalize.py ____________________________________________________________
4: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
______________________________________________________________ jaraco/develop/git.py ______________________________________________________________
15: error: Skipping analyzing "requests_file": module is installed, but missing library stubs or py.typed marker  [import-untyped]
____________________________________________________________ jaraco/develop/github.py _____________________________________________________________
12: error: Skipping analyzing "requests_toolbelt": module is installed, but missing library stubs or py.typed marker  [import-untyped]
__________________________________________________________ jaraco/develop/init-azure.py ___________________________________________________________
7: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
______________________________________________________ jaraco/develop/macos-build-python.py _______________________________________________________
11: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
_____________________________________________________________ jaraco/develop/merge.py _____________________________________________________________
14: error: Skipping analyzing "jaraco.packaging.metadata": module is installed, but missing library stubs or py.typed marker  [import-untyped]
14: error: Skipping analyzing "jaraco.packaging": module is installed, but missing library stubs or py.typed marker  [import-untyped]
16: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
________________________________________________________ jaraco/develop/migrate-config.py _________________________________________________________
7: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
__________________________________________________________ jaraco/develop/print-meta.py ___________________________________________________________
4: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
_________________________________________________________ jaraco/develop/projects-run.py __________________________________________________________
12: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
34: error: Redundant cast to "list[str]"  [redundant-cast]
_____________________________________________________________ jaraco/develop/repo.py ______________________________________________________________
6: error: Skipping analyzing "jaraco.packaging.metadata": module is installed, but missing library stubs or py.typed marker  [import-untyped]
6: error: Skipping analyzing "jaraco.packaging": module is installed, but missing library stubs or py.typed marker  [import-untyped]
______________________________________________________ jaraco/develop/rst-header-replace.py _______________________________________________________
4: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]
______________________________________________________________ jaraco/develop/rtd.py ______________________________________________________________
4: error: Skipping analyzing "requests_toolbelt": module is installed, but missing library stubs or py.typed marker  [import-untyped]
___________________________________________________________ jaraco/develop/towncrier.py ___________________________________________________________
6: error: Skipping analyzing "jaraco.vcs": module is installed, but missing library stubs or py.typed marker  [import-untyped]
7: error: Skipping analyzing "jaraco.versioning": module is installed, but missing library stubs or py.typed marker  [import-untyped]
________________________________________________________ jaraco/develop/update-projects.py ________________________________________________________
21: error: Skipping analyzing "jaraco.ui.main": module is installed, but missing library stubs or py.typed marker  [import-untyped]

@jaraco
Copy link
Owner Author

jaraco commented Aug 21, 2024

The error about 'jaraco.context' is surprising, because it has type annotations and a py.typed marker. Oh, the marker was added in jaraco.context 6, but 5.x is what's installed.

@jaraco
Copy link
Owner Author

jaraco commented Aug 21, 2024

Aha, refreshing the environment, the error goes away. It was just a stale environment.

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