Download .pre-commit-config.yaml from dev-yuje/FinGraph: direct link, hf CLI and curl.
- Browser
- Download file 748 Bytes
-
https://huggingface.co/spaces/dev-yuje/FinGraph/resolve/main/.pre-commit-config.yaml
- Command line
-
hf download hf://spaces/dev-yuje/FinGraph/.pre-commit-config.yaml
-
curl -L -o .pre-commit-config.yaml https://huggingface.co/spaces/dev-yuje/FinGraph/resolve/main/.pre-commit-config.yaml
748 Bytes
| repos: | |
| - repo: local | |
| hooks: | |
| - id: ruff-check | |
| name: Ruff Linter | |
| entry: ruff check . | |
| language: system | |
| types: [python] | |
| pass_filenames: false | |
| - id: mypy-strict | |
| name: MyPy Strict Type Check | |
| entry: mypy src tests --ignore-missing-imports | |
| language: system | |
| types: [python] | |
| pass_filenames: false | |
| - id: gradio-smoke-test | |
| name: Gradio Fail-Fast Validation | |
| entry: .venv/bin/python3 -c "import app" | |
| language: system | |
| pass_filenames: false | |
| - id: vulture-dead-code | |
| name: Vulture Dead Code Analysis | |
| entry: .venv/bin/vulture src/ --min-confidence 80 | |
| language: system | |
| pass_filenames: false | |