From 91d9e5f79e25eb004de648be9a0de2b6960feea7 Mon Sep 17 00:00:00 2001 From: Jason Hollis Date: Sun, 6 Dec 2020 12:17:51 -0500 Subject: [PATCH] Fixed sample-config to proper yaml formatting * Fixed yaml formatting * bumped version in sample config :) --- pre_commit/commands/sample_config.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pre_commit/commands/sample_config.py b/pre_commit/commands/sample_config.py index 64617c33..4836a4ea 100644 --- a/pre_commit/commands/sample_config.py +++ b/pre_commit/commands/sample_config.py @@ -3,16 +3,18 @@ # significantly faster than https:// or http://). For now, periodically # manually updating the revision is fine. SAMPLE_CONFIG = '''\ +--- + # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.3.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files '''