From de1ae7823e3242402a68202fcb7dee9b2ee17ce7 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed, 7 Jul 2021 00:34:56 +0200 Subject: [PATCH] Add pre-commit hook configuration (#17) --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..2dc0a80 --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: rstfmt + name: rstfmt + description: 'rstfmt: a formatter for reStructuredText' + entry: rstfmt + language: python + language_version: python3 + types: [rst]