From 8b8f4c1aa420bb83dff5899b3cb55dc84524abff Mon Sep 17 00:00:00 2001 From: "vdeo@6" Date: Tue, 1 Oct 2024 00:37:38 +0000 Subject: [PATCH] Add (default) debug build folders to .gitignore; change astyle options to dedent switch cases. --- .gitignore | 2 ++ .pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 202f4817..b1aa150c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ build _build +build_debug +install_debug src/config.h src/milk_config.h local diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10373841..62e5c581 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - id: astyle name: astyle custom script lints C/C++ entry: /usr/bin/astyle - args: ['-A1', '-s4', '-U', '-p', '-j', '-xC80', '-xG', '-S', '-k3', '-q', '-n'] + args: ['-A1', '-s4', '-U', '-p', '-j', '-xC80', '-xG', '-k3', '-q', '-n'] language: script files: '\.(cpp|c|h|hpp)$' stages: [commit, push]