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

Type checking with mypy #726

Merged
merged 25 commits into from
Jun 19, 2023
Merged

Type checking with mypy #726

merged 25 commits into from
Jun 19, 2023

Commits on Jun 19, 2023

  1. Add mypy dev dependency

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    fc06a4c View commit details
    Browse the repository at this point in the history
  2. Add mypy to pre-commit

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    08f73ba View commit details
    Browse the repository at this point in the history
  3. Mypy: ignore missing imports for certain modules

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    2927f70 View commit details
    Browse the repository at this point in the history
  4. Mypy: disallow untyped and incomplete function defs

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    93f86c3 View commit details
    Browse the repository at this point in the history
  5. Exclude small scripts from mypy type checking

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    f908109 View commit details
    Browse the repository at this point in the history
  6. Set default files to type check

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    6404d6a View commit details
    Browse the repository at this point in the history
  7. Add mypy instruction to CONTRIBUTING

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    b5d05eb View commit details
    Browse the repository at this point in the history
  8. Add py.typed marker

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    c918059 View commit details
    Browse the repository at this point in the history
  9. Add GitHub job for mypy

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    394663a View commit details
    Browse the repository at this point in the history
  10. Make _util mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    a3f092b View commit details
    Browse the repository at this point in the history
  11. Make comment mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    a21c34f View commit details
    Browse the repository at this point in the history
  12. Make vcs mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    21906d7 View commit details
    Browse the repository at this point in the history
  13. Make project mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    3a92cdd View commit details
    Browse the repository at this point in the history
  14. Make header mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    f9108d6 View commit details
    Browse the repository at this point in the history
  15. Make _main mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    3890dcf View commit details
    Browse the repository at this point in the history
  16. Make init mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    b0a7540 View commit details
    Browse the repository at this point in the history
  17. Make conftest mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    8ba2fe3 View commit details
    Browse the repository at this point in the history
  18. Make other tests mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    8b726a5 View commit details
    Browse the repository at this point in the history
  19. Make download mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    7e1b376 View commit details
    Browse the repository at this point in the history
  20. Make spdx mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    de584f4 View commit details
    Browse the repository at this point in the history
  21. Make _format mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    30ea22a View commit details
    Browse the repository at this point in the history
  22. Make _licenses mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    ad05304 View commit details
    Browse the repository at this point in the history
  23. Make supported_licenses mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    40d1786 View commit details
    Browse the repository at this point in the history
  24. Make report mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    ecf467e View commit details
    Browse the repository at this point in the history
  25. Make lint mypy-compliant

    Signed-off-by: Carmen Bianca BAKKER <[email protected]>
    carmenbianca committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    bf40ad4 View commit details
    Browse the repository at this point in the history