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

Fix enhable/disable on mypy tool #729

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

sbrunner
Copy link
Member

@sbrunner sbrunner commented Feb 27, 2025

Description

Currently, the enable/disable options have no effect on mypy tool => fix it

See also: https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-disable-error-code

Motivation and Context

Have a good support of mypy :-)

How Has This Been Tested?

Added the following config on Prospector project:

mypy:
  disable:
    - misc
    - attr-defined
    - no-any-return
  options:
    strict: true

and run-it :-)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Sorry, something went wrong.

@sbrunner sbrunner marked this pull request as ready for review February 27, 2025 08:52
@Pierre-Sassoulas Pierre-Sassoulas merged commit c800e01 into master Feb 27, 2025
5 checks passed
@sbrunner
Copy link
Member Author

Thanks :-)

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

Successfully merging this pull request may close these issues.

None yet

3 participants