From e28659f98e613bee91ae1ed2118009506778be60 Mon Sep 17 00:00:00 2001 From: Martin Hoyer Date: Wed, 15 May 2024 11:42:23 +0200 Subject: [PATCH] Fix pre-commit trimming linebreaks in markdown --- .pre-commit-config.yaml | 1 + README.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bbc1aa1..fa26480 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,3 +20,4 @@ repos: - id: debug-statements - id: end-of-file-fixer - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] diff --git a/README.md b/README.md index 6b6651a..0ec41db 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ Contribute ---------- targetcli complies with PEP 621 and as such can be built and installed with tools like `build` and `pip`. -For development, consider using [Hatch](https://hatch.pypa.io): -`hatch shell` to create and enter a Python virtualenv with the project installed in editable mode -`pre-commit install` to enable pre-commit hooks -`hatch build` to create tarball and wheel +For development, consider using [Hatch](https://hatch.pypa.io): +`hatch shell` to create and enter a Python virtualenv with the project installed in editable mode +`pre-commit install` to enable pre-commit hooks +`hatch build` to create tarball and wheel "fb" -- "free branch" ---------------------