Revision 008a6918e0736a4535836118b59731e14b5cda07 authored by yashkatariya on 13 December 2022, 19:34:14 UTC, committed by yashkatariya on 13 December 2022, 19:53:56 UTC
1 parent dadc434
Raw File
.pre-commit-config.yaml
# Install the pre-commit hooks below with
# 'pre-commit install'

# Auto-update the version of the hooks with
# 'pre-commit autoupdate'

# Run the hooks on all files with
# 'pre-commit run --all'

repos:
- repo: https://github.com/pycqa/flake8
  rev: '5.0.4'
  hooks:
  - id: flake8

- repo: https://github.com/pre-commit/mirrors-mypy
  rev: 'v0.982'
  hooks:
  - id: mypy
    files: (jax/|tests/typing_test\.py)
    exclude: jax/_src/basearray.py  # Use pyi instead
    additional_dependencies: [types-requests==2.28.11, jaxlib==0.3.24]

- repo: https://github.com/mwouts/jupytext
  rev: v1.14.1
  hooks:
  - id: jupytext
    args: [--sync]
back to top