From 6bf5ca96ab4f9c07c8c73b3749252a1cd1e99394 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 14 Sep 2021 15:38:02 +0300
Subject: [PATCH] Pre-commit and spelling.

- Update the mdformat hook because that version seems broken.
- Add the codespell hook, fix some spelling errors.
---
 .pre-commit-config.yaml    | 7 ++++++-
 README.md                  | 2 +-
 content/spam-me-update.rst | 4 ++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8aa20aa..14a94c4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -84,6 +84,11 @@ repos:
           - flake8-bugbear
 
   - repo: https://github.com/executablebooks/mdformat.git
-    rev: 0.5.3
+    rev: 0.7.9
     hooks:
       - id: mdformat
+
+  - repo: https://github.com/codespell-project/codespell.git
+    rev: v2.1.0
+    hooks:
+      - id: codespell
diff --git a/README.md b/README.md
index 0fb75bd..d3dbb3b 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ beforehand)
 pipenv run publish
 ```
 
-Delete the outputed files
+Delete the outputted files
 
 ```
 pipenv run clean
diff --git a/content/spam-me-update.rst b/content/spam-me-update.rst
index a0a0770..e052a6d 100644
--- a/content/spam-me-update.rst
+++ b/content/spam-me-update.rst
@@ -8,8 +8,8 @@ In `last month' post <https://www.shore.co.il/blog/spam_me>`_ I wrote about the
 new direct messaging I setup and the concern about abuse from that (spam and
 privacy concerns). While I can't speak on the privacy part (I don't know if
 anybody is listening to that channel besides me), I can update on the spam part.
-Since going live I recieved exactly 0 unsolicited messages. Nada, zilch, bupkis,
+Since going live I received exactly 0 unsolicited messages. Nada, zilch, bupkis,
 גורנישט. I'm a little disappointed with that since it shows that my blog is not
 read by millions of people (a shock, I know). But it also seems that automated
 scanners, scanning repos in Github don't act on this kind of information. With
-that, I plan on keeping everything running for the foreseeable furture.
+that, I plan on keeping everything running for the foreseeable future.
-- 
GitLab