From: Heiko Hund Date: Thu, 21 Apr 2022 14:45:58 +0200 Message-ID: <40260611.Av2MKxIUWH@...2664...> In-Reply-To: References: <20220420233148.2384208-1-heiko@...2662...> MIME-Version: 1.0 Subject: Re: [Openvpn-devel] [PATCH] Add git pre-commit hook script to uncrustify List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net Hi David On Donnerstag, 21. April 2022 13:41:58 CEST David Schneider wrote: > Did you consider to use the pre-commit framework [1] written in > Python? There is a maintained hook for uncrustify [2]. > This would allow it to easily integrate other linters/checks. See the > list of supported hooks [3]. I stumbled across this, but it seemed too big for the purpose. Was looking for something small that could integrate into the dev-tools. That said, I don't think it holds anyone back from using the pre-commit stuff with the repo's uncrustify.conf. So, if you already do use it please feel free to add some short howto to the developer documentation (something I missed doing, but will add in v2). Heiko