From 3bb8f33c4f37731b11ecfcb901cf173d4466cd11 Mon Sep 17 00:00:00 2001 From: chenzihong-gavin Date: Mon, 7 Jul 2025 12:03:19 +0800 Subject: [PATCH] ci: test pre-commit --- .pre-commit-config.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..5f799fde --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,19 @@ +repos: + - repo: https://github.com/psf/black + rev: 22.10.0 + hooks: + - id: black + name: black + - repo: https://github.com/PyCQA/isort + rev: 5.12.0 + hooks: + - id: isort + name: isort + - repo: https://github.com/PyCQA/pylint + rev: v2.15.5 + hooks: + - id: pylint + name: pylint + entry: pylint + language: system + types: [python]