Skip to content
Snippets Groups Projects
  1. Nov 04, 2024
  2. Nov 02, 2024
  3. Oct 24, 2024
  4. Oct 23, 2024
  5. Oct 19, 2024
  6. Oct 18, 2024
    • Newbyte's avatar
      mrhlpr, mrtest: Add --version command · 31a169a2
      Newbyte authored
      This also effectively reverts 7d068e20,
      because now we actually use the version for something in the program. It
      also avoids the problems reported in
      #15 to the
      best of my knowledge — I tried reproducing the bug as written in there
      and did not get any build failures.
      
      The primary purpose of this version command is for making
      experimentation with mypyc easier, but I also can imagine it might be
      nice for users to be able to get their version of mrtest easily.
      Verified
      31a169a2
  7. Oct 14, 2024
  8. Oct 10, 2024
  9. Oct 07, 2024
  10. Sep 28, 2024
  11. Sep 27, 2024
  12. Sep 23, 2024
  13. Sep 14, 2024
  14. Aug 17, 2024
  15. Aug 06, 2024
  16. Jul 11, 2024
    • Oliver Smith's avatar
      mr: run msg_filter scripts without chmod +x · 39137113
      Oliver Smith authored
      With more modern packaging methods, the executable flag gets stripped
      from the files in data. Adjust mr.py to run the scripts with python3
      explicitly, doing it like that is actually better than having these
      scripts that are not meant to be executed directly with the executable
      flag on the filesystem.
      
      Fixes: issue 20
      Unverified
      39137113
  17. Jun 27, 2024
  18. Jun 04, 2024
  19. Jun 03, 2024
  20. May 28, 2024
  21. May 20, 2024
    • Newbyte's avatar
      CI: Add --check-untyped-defs to mypy check · c889a3cf
      Newbyte authored
      This should reduce the risk of changes being missed in refactors like
      the one discovered by Zach DeCook which was fixed in
      7fce8005.
      Verified
      c889a3cf
    • Newbyte's avatar
      mrtest.select_package: Add type hints · 379b5bb0
      Newbyte authored
      Some are still missing, but it's a start.
      Verified
      379b5bb0
    • Newbyte's avatar
      mrtest: Ignore attr-defined for mrtest-module functions · d77a3268
      Newbyte authored
      mypy cannot find these as they're defined in __init__.py:
      
      $ mypy mrtest.py mrhlpr.py --check-untyped-defs
      mrtest/zap_packages.py:36: error: Module has no attribute "is_root_user"  [attr-defined]
      mrtest/zap_packages.py:37: error: Module has no attribute "get_sudo"  [attr-defined]
      mrtest/add_packages.py:60: error: Module has no attribute "get_virtual_group"  [attr-defined]
      mrtest/add_packages.py:63: error: Module has no attribute "is_root_user"  [attr-defined]
      mrtest/add_packages.py:64: error: Module has no attribute "get_sudo"  [attr-defined]
      Verified
      d77a3268
Loading