mac-cleanup-py icon indicating copy to clipboard operation
mac-cleanup-py copied to clipboard

Use Python natively and drop awk from sources

Open mezantrop opened this issue 1 year ago • 1 comments

Use Python natively and drop awk from sources

Description

  • statvfs to replace parsing df / output
  • A third party xattr module to deal with "restricted" SIP attributes instead of wrongly-used ls. Luckily, there is no issue opened for the case.

Type of Change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] Enhancement

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

  • [x] poetry run tox on Python 3.10/3.11
  • [x] Functional test on local machine

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] My changes generate no new warnings (pyright: ignore [reportMissingTypeStubs])

Screenshots

Attach screenshots or screen recordings of the changes, if any.

Additional Context

Add any other context or information about the pull request here.

mezantrop avatar Apr 06 '24 22:04 mezantrop

Hey 👋🏻 I'm short on time recently but my promises I'll watch it by midweek. Approving ci run meanwhile

efa2d19 avatar Apr 08 '24 17:04 efa2d19