From 958a5d4c96410350f6087bdb40adb661ad7ff5f1 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 23 Jan 2021 21:17:28 +0200
Subject: [PATCH] Address issues from new pre-commit checks.

---
 .pre-commit-config.yaml |  4 +++-
 README.md               |  8 ++++----
 clamd/README.md         |  8 ++++----
 crond/README.md         |  8 ++++----
 dovecot/README.md       | 10 +++++-----
 exim4/README.md         | 17 ++++++++---------
 spamd/README.md         |  8 ++++----
 7 files changed, 32 insertions(+), 31 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9e08544..684cbe0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -8,11 +8,13 @@ repos:
       - id: check-merge-conflict
       - id: check-symlinks
       - id: trailing-whitespace
+        exclude: \.diff$
 
   - repo: https://github.com/Yelp/detect-secrets
     rev: v0.14.3
     hooks:
       - id: detect-secrets
+        exclude: \.diff$
 
   - repo: https://github.com/adrienverge/yamllint
     rev: v1.25.0
@@ -45,4 +47,4 @@ repos:
     rev: v0.3.0
     hooks:
       - id: hadolint
-      - id: docker-compose
\ No newline at end of file
+      - id: docker-compose
diff --git a/README.md b/README.md
index 9eceb1f..ff41cd6 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
 
 ## Author Information
 
-Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
-https://www.shore.co.il/). Patches are welcome via [`git send-email`](
-http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
-at: <https://git.shore.co.il/shore/>.
+Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
+[website](https://www.shore.co.il/). Patches are welcome via
+[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
+is located at: <https://git.shore.co.il/explore/>.
diff --git a/clamd/README.md b/clamd/README.md
index f2a8306..61e069a 100644
--- a/clamd/README.md
+++ b/clamd/README.md
@@ -20,7 +20,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
 
 ## Author Information
 
-Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
-https://www.shore.co.il/). Patches are welcome via [`git send-email`](
-http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
-at: <https://www.shore.co.il/git/>.
+Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
+[website](https://www.shore.co.il/). Patches are welcome via
+[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
+is located at: <https://git.shore.co.il/explore/>.
diff --git a/crond/README.md b/crond/README.md
index 8731172..225d758 100644
--- a/crond/README.md
+++ b/crond/README.md
@@ -16,7 +16,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
 
 ## Author Information
 
-Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
-https://www.shore.co.il/). Patches are welcome via [`git send-email`](
-http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
-at: <https://www.shore.co.il/git/>.
+Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
+[website](https://www.shore.co.il/). Patches are welcome via
+[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
+is located at: <https://git.shore.co.il/explore/>.
diff --git a/dovecot/README.md b/dovecot/README.md
index adb13d0..c924706 100644
--- a/dovecot/README.md
+++ b/dovecot/README.md
@@ -10,7 +10,7 @@ socket in the `/run/dovecot` volume (for LTMP submission).
 ## Environment variables
 
 Name | Description
---- | ---
+\-\-\- | \-\-\-
 `LDAP_URIS` | LDAP URI (eg, `ldapi:///`).
 `LDAP_BASEDN` | LDAP base DN (eg, `dc=example,dc=com`).
 
@@ -24,7 +24,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
 
 ## Author Information
 
-Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
-https://www.shore.co.il/). Patches are welcome via [`git send-email`](
-http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
-at: <https://www.shore.co.il/git/>.
+Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
+[website](https://www.shore.co.il/). Patches are welcome via
+[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
+is located at: <https://git.shore.co.il/explore/>.
diff --git a/exim4/README.md b/exim4/README.md
index 298a826..d1f2000 100644
--- a/exim4/README.md
+++ b/exim4/README.md
@@ -9,27 +9,26 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission).
 ## Environment variables
 
 Name | Description
---- | ---
-`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.htm).
+\-\-\- | \-\-\-
+`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.htm).
 `DKIM_PRIVATE_KEY` |
 `DKIM_SELECTOR` |
 `LDAP_URIS` |
 `LDAP_BASEDN` |
-`LMTP_ADDRESS` | Address of the LMTP server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-the_lmtp_transport.html).
+`LMTP_ADDRESS` | Address of the LMTP server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-the\_lmtp\_transport.html).
 `MAILNAME` |
 `ROOT_ALIAS` |
-`SPAMD_ADDRESS` | Address of the spamd server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html).
+`SPAMD_ADDRESS` | Address of the spamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.html).
 `TLS_CERT_FILE` |
 `TLS_KEY_FILE` |
 
-
 ## License
 
 This software is licensed under the MIT license (see `LICENSE.txt`).
 
 ## Author Information
 
-Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
-https://www.shore.co.il/). Patches are welcome via [`git send-email`](
-http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
-at: <https://www.shore.co.il/git/>.
+Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
+[website](https://www.shore.co.il/). Patches are welcome via
+[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
+is located at: <https://git.shore.co.il/explore/>.
diff --git a/spamd/README.md b/spamd/README.md
index 6bd0ffa..2d116ff 100644
--- a/spamd/README.md
+++ b/spamd/README.md
@@ -26,7 +26,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
 
 ## Author Information
 
-Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
-https://www.shore.co.il/). Patches are welcome via [`git send-email`](
-http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
-at: <https://www.shore.co.il/git/>.
+Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
+[website](https://www.shore.co.il/). Patches are welcome via
+[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
+is located at: <https://git.shore.co.il/explore/>.
-- 
GitLab