diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aaca4c53..aeeaab86 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,11 +58,13 @@ repos: # additional_dependencies: [tomli] # args: ["--in-place", "--recursive", "--diff", "."] + # SOURCE:https://github.com/humblFINANCE/humblAPI/blob/master/.pre-commit-config.yaml # SOURCE: https://github.com/pypa/pip/blob/main/.pre-commit-config.yaml - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.10.0 hooks: - id: python-no-log-warn + - id: text-unicode-replacement-char # - id: python-no-eval # - id: rst-backticks # files: .*\.rst$ @@ -122,6 +124,15 @@ repos: exclude: ^news/(.gitignore|.*\.(process|removal|feature|bugfix|vendor|doc|trivial).rst) files: ^news/ + # TODO: enable this + # - id: commitizen + # name: commitizen + # entry: cz check + # args: [--commit-msg-file] + # require_serial: true + # language: system + # stages: [commit-msg] + # - id: changelogs-rst # name: changelog filenames # language: fail