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

Upgrading mypy > 0.961 causes error #278

Closed
madpah opened this issue Jul 28, 2022 · 3 comments
Closed

Upgrading mypy > 0.961 causes error #278

madpah opened this issue Jul 28, 2022 · 3 comments

Comments

@madpah
Copy link
Collaborator

madpah commented Jul 28, 2022

Locally, when running with mypy 0.971, with no other changes to configuration, the following error is output and mypy fails:

...
mypy run-test: commands[0] | poetry run mypy
/cyclonedx/cyclonedx-python-lib is in the MYPYPATH. Please remove it.
See https://mypy.readthedocs.io/en/stable/running_mypy.html#how-mypy-handles-imports for more info
...
@madpah
Copy link
Collaborator Author

madpah commented Jul 28, 2022

This could relate to python/mypy#13202.

madpah added a commit that referenced this issue Jul 28, 2022
Signed-off-by: Paul Horton <paul.horton@owasp.org>
madpah added a commit that referenced this issue Jul 28, 2022
Signed-off-by: Paul Horton <paul.horton@owasp.org>
@jkowalleck
Copy link
Member

this is odd.

@madpah
Copy link
Collaborator Author

madpah commented Mar 20, 2023

Superceded by #346

@madpah madpah closed this as completed Mar 20, 2023
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

2 participants