Skip to content

Commit 9aabdcb

Browse files
committed
Update pre-commit-config
1 parent 716b0a6 commit 9aabdcb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
exclude: ^vendor/
12
repos:
23
- repo: https://github.com/pre-commit/pre-commit-hooks.git
34
rev: v2.2.1
@@ -23,11 +24,11 @@ repos:
2324
rev: v1.4.4
2425
hooks:
2526
- id: autopep8
26-
- repo: https://gitlab.com/pycqa/flake8
27+
- repo: https://github.com/pycqa/flake8
2728
rev: 3.7.7
2829
hooks:
2930
- id: flake8
30-
language_version: python3.5
31+
language_version: python3.7
3132
- repo: https://github.com/asottile/reorder_python_imports.git
3233
rev: v1.4.0
3334
hooks:

staff/sys/ldap-add-host

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ if grep '\.' <<< "$IP" > /dev/null; then
2121
exit 1
2222
else
2323
# we assume this is an IPv4 address
24+
# shellcheck disable=SC2001
2425
IP="$(sed -e 's/169\.229\.226\.//' <<< "$IP")"
2526
echo "we figured out what you meant, but for future reference,"
2627
echo "just use the last bit of the IP, like \"42\" for 169.229.226.42"

0 commit comments

Comments
 (0)