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

Assorted MyPy improvments #1663

Merged
merged 5 commits into from
Aug 17, 2024
Merged

Assorted MyPy improvments #1663

merged 5 commits into from
Aug 17, 2024

Commits on Aug 4, 2024

  1. MyPy: fix warning

    	Unused "type: ignore" comment  [unused-ignore]
    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    fcd07a3 View commit details
    Browse the repository at this point in the history
  2. MyPy: show_error_codes deprecated

    Must not have show_error_codes. It is now the default.
    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    b3a354e View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. MyPy: enable ignore-without-code

    This will force all skips to include the error code, which makes
    them more readable, and avoids skipping something unintended.
    DimitriPapadopoulos committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    fe1bae2 View commit details
    Browse the repository at this point in the history
  2. MyPy: enable truthy-bool

    This catches mistakes in using a value as truthy if it cannot be falsey.
    DimitriPapadopoulos committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    612e7aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    830c25c View commit details
    Browse the repository at this point in the history