From 2ded0fb2eb70e4a075cea7b747f134652075742c Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Tue, 9 Jan 2024 18:54:27 +0800 Subject: [PATCH] build(pre-commit): add --no-transform-percent to flynt to avoid transform loggging text to f-string which conflict check-lazy-logging hook --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c850b3e701ce1..56b9f912abf24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -259,6 +259,8 @@ repos: # so the user is informed to take action. - --line-length - '99999' + # avoid logging text to be converted to f-string which conflicts check-lazy-logging + - --no-transform-percent - repo: https://github.com/codespell-project/codespell rev: v2.2.6 hooks: