Files
eosphoros-ai--db-gpt/.pre-commit-config.yaml
wehub-resource-sync d13100ebf3
Build and push docs image / build-image (push) Waiting to run
Update draft releases / main (push) Waiting to run
Test Python / test-python (macos-latest, 3.10) (push) Waiting to run
Test Python / test-python (macos-latest, 3.11) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.10) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.11) (push) Waiting to run
Build Web Application / build-web (macos-latest) (push) Waiting to run
Build Web Application / build-web (ubuntu-latest) (push) Waiting to run
Python Code Quality Checks / build (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:27:08 +08:00

42 lines
1.1 KiB
YAML

# Please run command `pre-commit install` to install pre-commit hook
repos:
- repo: local
hooks:
- id: python-fmt
name: Python Format
entry: make fmt-check
language: system
exclude: '^dbgpt/app/static/|^web/'
types: [python]
stages: [commit]
pass_filenames: false
args: []
- id: python-test
name: Python Unit Test
entry: make test
language: system
exclude: '^dbgpt/app/static/|^web/'
types: [python]
stages: [commit]
pass_filenames: false
args: []
# - id: python-test-doc
# name: Python Doc Test
# entry: make test-doc
# language: system
# exclude: '^dbgpt/app/static/|^web/'
# types: [python]
# stages: [commit]
# pass_filenames: false
# args: []
# - id: python-lint-mypy
# name: Python Lint mypy
# entry: make mypy
# language: system
# exclude: '^dbgpt/app/static/|^web/'
# types: [python]
# stages: [commit]
# pass_filenames: false
# args: []
#