85742ab165
Deploy Documentation / deploy (push) Has been cancelled
CPU Test / Test (Utilities, legacy, Python 3.10) (push) Has been cancelled
CPU Test / Test (LLM proxy, stable, Python 3.11) (push) Has been cancelled
CPU Test / Test (Others, stable, Python 3.11) (push) Has been cancelled
CPU Test / Test (Store, stable, Python 3.11) (push) Has been cancelled
CPU Test / Test (Utilities, stable, Python 3.11) (push) Has been cancelled
CPU Test / Test (Weave, stable, Python 3.11) (push) Has been cancelled
CPU Test / Test (AgentOps, stable, Python 3.12) (push) Has been cancelled
CPU Test / Test (LLM proxy, stable, Python 3.12) (push) Has been cancelled
CPU Test / Test (Others, stable, Python 3.12) (push) Has been cancelled
CPU Test / Test (Weave, latest, Python 3.13) (push) Has been cancelled
Dashboard / Chromatic (push) Has been cancelled
CPU Test / Lint - fast (push) Has been cancelled
CPU Test / Lint - next (push) Has been cancelled
CPU Test / Lint - slow (push) Has been cancelled
CPU Test / Lint - JavaScript (push) Has been cancelled
CPU Test / Build documentation (push) Has been cancelled
CPU Test / Test (AgentOps, legacy, Python 3.10) (push) Has been cancelled
CPU Test / Test (LLM proxy, legacy, Python 3.10) (push) Has been cancelled
CPU Test / Test (Others, legacy, Python 3.10) (push) Has been cancelled
CPU Test / Test (Store, legacy, Python 3.10) (push) Has been cancelled
CPU Test / Test (Weave, legacy, Python 3.10) (push) Has been cancelled
CPU Test / Test (AgentOps, stable, Python 3.11) (push) Has been cancelled
CPU Test / Test (Store, stable, Python 3.12) (push) Has been cancelled
CPU Test / Test (Utilities, stable, Python 3.12) (push) Has been cancelled
CPU Test / Test (Weave, stable, Python 3.12) (push) Has been cancelled
CPU Test / Test (AgentOps, latest, Python 3.13) (push) Has been cancelled
CPU Test / Test (LLM proxy, latest, Python 3.13) (push) Has been cancelled
CPU Test / Test (Others, latest, Python 3.13) (push) Has been cancelled
CPU Test / Test (Store, latest, Python 3.13) (push) Has been cancelled
CPU Test / Test (Utilities, latest, Python 3.13) (push) Has been cancelled
CPU Test / Test (JavaScript) (push) Has been cancelled
78 lines
2.1 KiB
YAML
78 lines
2.1 KiB
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
exclude: (.*store-openapi\.json$)
|
|
- id: trailing-whitespace
|
|
- id: check-yaml
|
|
exclude: ^mkdocs\.yml$
|
|
- id: check-toml
|
|
- id: check-added-large-files
|
|
args: ["--maxkb=1024"]
|
|
exclude: (^uv\.lock$)|(^docs/assets/.*\.svg$)|(.*store-openapi\.json$)
|
|
- id: check-shebang-scripts-are-executable
|
|
- id: detect-private-key
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 6.0.1
|
|
hooks:
|
|
- id: isort
|
|
args: ["."]
|
|
- repo: https://github.com/psf/black
|
|
rev: 25.1.0
|
|
hooks:
|
|
- id: black
|
|
pass_filenames: false
|
|
always_run: true
|
|
args: ["."]
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: prettier
|
|
name: prettier (dashboard)
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|
|
entry: >
|
|
bash -c '
|
|
cd dashboard || exit 1
|
|
if [ -d node_modules ]; then
|
|
echo "✅ node_modules already exists"
|
|
npx prettier --cache --write "**/*.{ts,tsx,mjs,cjs}"
|
|
else
|
|
echo "⚠️ node_modules not found — npx is not reliable. Skipping."
|
|
fi
|
|
'
|
|
|
|
- id: eslint
|
|
name: eslint (dashboard)
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|
|
entry: >
|
|
bash -c '
|
|
cd dashboard || exit 1
|
|
if [ -d node_modules ]; then
|
|
echo "✅ node_modules already exists"
|
|
npx eslint --cache --fix .
|
|
else
|
|
echo "⚠️ node_modules not found — npx is not reliable. Skipping."
|
|
fi
|
|
'
|
|
|
|
- id: stylelint
|
|
name: stylelint (dashboard)
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|
|
entry: >
|
|
bash -c '
|
|
cd dashboard || exit 1
|
|
if [ -d node_modules ]; then
|
|
echo "✅ node_modules already exists"
|
|
npx stylelint --cache --fix "**/*.css"
|
|
else
|
|
echo "⚠️ node_modules not found — npx is not reliable. Skipping."
|
|
fi
|
|
'
|