Fixed
- Fixed two bugs in shebang validation that would result in ModuleNotFoundError when running check-munki-pkgsinfo hook.
Removed
- Dropped Python 2 string instance validation. No further support will be provided for Python 2.
Changed
- Added PyUpgrade hook to this repo's own pre-commit linting, in order to ensure modern Python syntax.
- Don't specify
"r"
mode when usingopen()
, as this is the default behavior.