From 30d7affe381520938c8cca4ec220d39104d28711 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Wed, 10 Nov 2021 16:47:42 -0800 Subject: [PATCH] Fixes needle with invalid JSON and adds pre-commit configuration (#59) * add pre-commit configuration * repair broken needle --- .pre-commit-config.yaml | 9 +++++++++ .../partitioning/rocky-fs_ext4_preselected-20210812.json | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..852cdc4a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-json + - id: check-yaml + - id: check-added-large-files diff --git a/needles/anaconda/partitioning/rocky-fs_ext4_preselected-20210812.json b/needles/anaconda/partitioning/rocky-fs_ext4_preselected-20210812.json index 794a1324..8d0d167d 100644 --- a/needles/anaconda/partitioning/rocky-fs_ext4_preselected-20210812.json +++ b/needles/anaconda/partitioning/rocky-fs_ext4_preselected-20210812.json @@ -12,6 +12,6 @@ "tags": [ "anaconda_part_fs", "anaconda_part_fs_ext4_selected", - "ENV-DISTRI-rocky", + "ENV-DISTRI-rocky" ] -} \ No newline at end of file +}