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

[BUG] mypy code are not whell catched #716

Open
sbrunner opened this issue Jan 20, 2025 · 0 comments · May be fixed by #721
Open

[BUG] mypy code are not whell catched #716

sbrunner opened this issue Jan 20, 2025 · 0 comments · May be fixed by #721
Assignees

Comments

@sbrunner
Copy link
Member

Describe the bug A clear and concise description of what the bug is.

The mypy code are info or error but they should be like no-untyped-def.

To Reproduce Steps to reproduce the behavior:

  1. Create a file with
    def test():
        pass
  2. Call prospector the following way prospector --output-format=pylint test.py' (the mypy tool should be enabled)
  3. See error
    ************* Module test
    test.py:1:1: error(mypy): Function is missing a return type annotation  [no-untyped-def]
    

Expected behavior A clear and concise description of what you expected to happen.

************* Module test
test.py:1:1: no-untyped-def(mypy): Function is missing a return type annotation

Environment (please complete the following information):

  • OS: Linus
  • Tool mypy
  • Prospector version 1.13.3
  • Python version 3.11.9
@sbrunner sbrunner self-assigned this Jan 20, 2025
@sbrunner sbrunner changed the title [BUG] [BUG] mypy code are not whell catched Jan 20, 2025
@sbrunner sbrunner linked a pull request Jan 29, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant