Skip to content

Commit

Permalink
Update pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Feb 11, 2024
1 parent a618d58 commit ac89be2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ repos:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/python/black
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black
8 changes: 4 additions & 4 deletions pre_commit_hooks/check_munki_pkgsinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ def build_argument_parser():
)
parser.add_argument("filenames", nargs="*", help="Filenames to check.")
parser.add_argument(
"--munki-repo",
default=".",
help="path to local munki repo defaults to '.'"
"--munki-repo", default=".", help="path to local munki repo defaults to '.'"
)
parser.add_argument(
"--warn-on-missing-icons",
Expand Down Expand Up @@ -146,7 +144,9 @@ def main(argv=None):

# Check for missing or case-conflicted installer items
if not _check_case_sensitive_path(
os.path.join(args.munki_repo, "pkgs", pkginfo.get("installer_item_location", ""))
os.path.join(
args.munki_repo, "pkgs", pkginfo.get("installer_item_location", "")
)
):
print(
"{}: installer item does not exist or path is not case sensitive".format(
Expand Down

0 comments on commit ac89be2

Please sign in to comment.