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

simplify mypy config #12823

Merged
merged 2 commits into from
Aug 31, 2024
Merged

simplify mypy config #12823

merged 2 commits into from
Aug 31, 2024

Conversation

danieleades
Copy link
Contributor

inverts the mypy config with respect to 'strict mode'

Copy link
Member

@AA-Turner AA-Turner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a quick reference I can check to verify that this doesn't weaken our settings?

A

@danieleades
Copy link
Contributor Author

danieleades commented Aug 25, 2024

Is there a quick reference I can check to verify that this doesn't weaken our settings?

A

Best bet is mypy --help:

  --strict                  Strict mode; enables the following flags: --warn-unused-configs, --disallow-any-generics, --disallow-subclassing-any,
                            --disallow-untyped-calls, --disallow-untyped-defs, --disallow-incomplete-defs, --check-untyped-defs, --disallow-untyped-
                            decorators, --warn-redundant-casts, --warn-unused-ignores, --warn-return-any, --no-implicit-reexport, --strict-equality,
                            --extra-checks

@AA-Turner AA-Turner merged commit bb2c4e9 into sphinx-doc:master Aug 31, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants