Skip to content

Commit c249a46

Browse files
authored
Merge pull request #39 from homebysix/1.6.2
v1.6.2 merge to master
2 parents 05a5072 + 3a5466c commit c249a46

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For any hook in this repo you wish to use, add the following to your pre-commit
1313

1414
```yaml
1515
- repo: https://github.com/homebysix/pre-commit-macadmin
16-
rev: v1.6.1
16+
rev: v1.6.2
1717
hooks:
1818
- id: check-plists
1919
# - id: ...
@@ -119,7 +119,7 @@ When combining arguments that take lists (for example: `--required-keys`, `--cat
119119

120120
```yaml
121121
- repo: https://github.com/homebysix/pre-commit-macadmin
122-
rev: v1.6.1
122+
rev: v1.6.2
123123
hooks:
124124
- id: check-munki-pkgsinfo
125125
args: ['--catalogs', 'testing', 'stable', '--']
@@ -129,7 +129,7 @@ But if you also use the `--categories` argument, you would move the trailing `--
129129

130130
```yaml
131131
- repo: https://github.com/homebysix/pre-commit-macadmin
132-
rev: v1.6.1
132+
rev: v1.6.2
133133
hooks:
134134
- id: check-munki-pkgsinfo
135135
args: ['--catalogs', 'testing', 'stable', '--categories', 'Design', 'Engineering', 'Web Browsers', '--']
@@ -141,7 +141,7 @@ If it looks better to your eye, feel free to use a multi-line list for long argu
141141

142142
```yaml
143143
- repo: https://github.com/homebysix/pre-commit-macadmin
144-
rev: v1.6.1
144+
rev: v1.6.2
145145
hooks:
146146
- id: check-munki-pkgsinfo
147147
args: [

pre_commit_hooks/check_munkipkg_buildinfo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"""Check MunkiPkg build-info files to ensure they are valid."""
44

55
import argparse
6+
import json
67
import plistlib
8+
import sys
79
from xml.parsers.expat import ExpatError
8-
import json
10+
911
import ruamel.yaml
1012
from pre_commit_hooks.util import validate_required_keys
1113

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
name="pre-commit-macadmin",
88
description="Pre-commit hooks for Mac admins, client engineers, and IT consultants.",
99
url="https://github.com/homebysix/pre-commit-macadmin",
10-
version="1.6.1",
10+
version="1.6.2",
1111
author="Elliot Jordan",
1212
author_email="elliot@elliotjordan.com",
1313
packages=["pre_commit_hooks"],

0 commit comments

Comments
 (0)