File: .pre-commit-config.yaml

package info (click to toggle)
python-gfloat 0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: python: 1,448; sh: 37; makefile: 20
file content (27 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2024 Graphcore Ltd.  All rights reserved.

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.6.0
    hooks:
    -   id: check-yaml
    -   id: end-of-file-fixer
    -   id: trailing-whitespace

-   repo: https://github.com/psf/black
    rev: 24.4.0
    hooks:
    - id: black-jupyter

-   repo: local
    hooks:
    - id: etc/check-copyright.sh
      name: check copyright
      entry: etc/check-copyright.sh
      language: script
      exclude: |
            (?x)(
                ^docs/Makefile$|
                ^docs/make.bat$|
                (/|)requirements.*\.txt$
            )