github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/python/.pre-commit-config.yaml (about)

     1  repos:
     2    - repo: https://github.com/Lucas-C/pre-commit-hooks
     3      rev: v1.3.1
     4      hooks:
     5        - id: forbid-crlf
     6        - id: remove-crlf
     7    - repo: https://github.com/pre-commit/pre-commit-hooks
     8      rev: v4.4.0
     9      hooks:
    10        - id: trailing-whitespace
    11        - id: end-of-file-fixer
    12        - id: check-merge-conflict
    13        - id: check-yaml
    14          args: [ --unsafe ]
    15    - repo: https://github.com/pre-commit/mirrors-isort
    16      rev: v5.10.1
    17      hooks:
    18        - id: isort
    19          args: [ "--filter-files" ]
    20    - repo: https://github.com/ambv/black
    21      rev: 23.1a1
    22      hooks:
    23        - id: black
    24          language_version: python3.10
    25    - repo: https://github.com/pycqa/flake8
    26      rev: 6.0.0
    27      hooks:
    28        - id: flake8
    29          additional_dependencies: [ flake8-typing-imports==1.14.0 ]
    30          exclude: ^(benchmark/|clients/python/)
    31    # - repo: https://github.com/pre-commit/mirrors-mypy
    32    #   rev: v0.991
    33    #   hooks:
    34    #     - id: mypy
    35    #       exclude: tests/