gagent / .pre-commit-config.yaml
uoc's picture
GAIA agent project.
a6998ef verified
repos:
# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: v0.11.7
# hooks:
# - id: ruff
# args: [--fix]
# ignore: ["E501"]
# line-length: 120
# - id: ruff-format
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.15.0
# hooks:
# - id: mypy
# args: ["--allow-untyped-globals"]
# additional_dependencies: [
# "types-requests",
# "types-PyYAML",
# "types-setuptools",
# "types-urllib3",
# "types-python-dateutil",
# "types-six"
# ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=20480']
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: debug-statements
- id: detect-private-key
# - id: name-tests-test
# args: ['--pytest-test-first']
- id: requirements-txt-fixer