From fd6bbc8171479a8cae855aad05dbcf9b503735cc Mon Sep 17 00:00:00 2001 From: Pavel Bezliapovich Date: Thu, 24 Oct 2024 16:49:20 +0200 Subject: [PATCH] chore: Added hooks Refs: #56 --- .pre-commit-config.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ce7858..530368e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,8 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: + - id: check-added-large-files + - id: check-case-conflict - id: check-merge-conflict - id: trailing-whitespace - id: check-xml @@ -16,8 +18,21 @@ repos: - id: check-yaml - id: no-commit-to-branch - id: mixed-line-ending + - id: end-of-file-fixer - id: pretty-format-json args: [--autofix, --no-ensure-ascii, '--top-keys=openapi,info,servers,paths,components'] + - repo: local + hooks: + - id: sensitive-data-leak-urls + name: Sensitive data leak - URLs + entry: (?