Team Ai
Apppublic

Falln87/computer-use-agent

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
.pre-commit-config.yaml56 linesDownload Raw Back to root
1repos:2    - repo: https://github.com/pre-commit/pre-commit-hooks3      rev: v4.5.04      hooks:5          - id: trailing-whitespace6          - id: end-of-file-fixer7          - id: check-yaml8          - id: check-added-large-files9          - id: check-ast10          - id: check-json11            exclude: ^(frontend/.*\.json|cua2-front/tsconfig.*\.json)$12          - id: check-merge-conflict13          - id: detect-private-key14 15    - repo: https://github.com/pycqa/isort16      rev: 5.13.217      hooks:18          - id: isort19            args: ["--profile", "black"]20 21    - repo: https://github.com/charliermarsh/ruff-pre-commit22      rev: v0.9.023      hooks:24          - id: ruff25            args: [--fix]26          - id: ruff-format27 28    - repo: https://github.com/pre-commit/mirrors-mypy29      rev: v1.14.130      hooks:31          - id: mypy32            additional_dependencies: [types-PyYAML, types-requests]33            args: [--ignore-missing-imports]34 35    - repo: https://github.com/codespell-project/codespell36      rev: v2.3.037      hooks:38          - id: codespell39            args: ["--skip=*.json,*.jsonl,*.txt,*.md,*.ipynb"]40 41    - repo: local42      hooks:43          - id: eslint-cua2-front44            name: ESLint Frontend45            entry: bash -c 'cd cua2-front && npx eslint src/ --config eslint.config.js'46            language: system47            files: ^cua2-front/.*\.(ts|tsx|js|jsx)$48            pass_filenames: false49 50          - id: typescript-check51            name: TypeScript Type Check52            entry: bash -c 'cd cua2-front && npx tsc --noEmit --project tsconfig.json'53            language: system54            files: ^cua2-front/.*\.(ts|tsx)$55            pass_filenames: false56