|
1 | 1 | # See https://pre-commit.com for more information
|
2 | 2 | # See https://pre-commit.com/hooks.html for more hooks
|
3 | 3 | repos:
|
4 |
| - - repo: https://github.com/pre-commit/pre-commit-hooks |
5 |
| - rev: v4.4.0 |
6 |
| - hooks: |
7 |
| - - id: trailing-whitespace |
8 |
| - exclude_types: [svg] |
9 |
| - - id: end-of-file-fixer |
10 |
| - exclude_types: [svg] |
11 |
| - - id: check-yaml |
12 |
| - - id: check-added-large-files |
13 |
| - - repo: https://github.com/pycqa/isort |
14 |
| - rev: 5.12.0 |
15 |
| - hooks: |
16 |
| - - id: isort |
17 |
| - args: [--profile, black] |
18 |
| - types: [python] |
19 |
| - - repo: https://github.com/ambv/black |
20 |
| - rev: 23.3.0 |
21 |
| - hooks: |
22 |
| - - id: black |
23 |
| - - repo: https://github.com/pycqa/flake8 |
24 |
| - rev: 6.0.0 |
25 |
| - hooks: |
26 |
| - - id: flake8 |
27 |
| - - repo: https://github.com/nbQA-dev/nbQA |
28 |
| - rev: 1.7.0 |
29 |
| - hooks: |
30 |
| - - id: nbqa-black |
31 |
| - # additional_dependencies: [jupytext] # optional, only if you're using Jupytext |
32 |
| - - id: nbqa-pyupgrade |
33 |
| - args: ["--py37-plus"] |
34 |
| - - id: nbqa-isort |
35 |
| - args: ["--float-to-top"] |
36 |
| - - repo: https://github.com/econchick/interrogate |
37 |
| - rev: 1.5.0 |
38 |
| - hooks: |
39 |
| - - id: interrogate |
40 |
| - # needed to make excludes in pyproject.toml work |
41 |
| - # see here https://github.com/econchick/interrogate/issues/60#issuecomment-735436566 |
42 |
| - pass_filenames: false |
| 4 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 5 | + rev: v4.4.0 |
| 6 | + hooks: |
| 7 | + - id: trailing-whitespace |
| 8 | + exclude_types: [svg] |
| 9 | + - id: end-of-file-fixer |
| 10 | + exclude_types: [svg] |
| 11 | + - id: check-yaml |
| 12 | + - id: check-added-large-files |
| 13 | + - repo: https://github.com/charliermarsh/ruff-pre-commit |
| 14 | + rev: v0.1.4 |
| 15 | + hooks: |
| 16 | + - id: ruff |
| 17 | + - id: ruff-format |
| 18 | + - repo: https://github.com/nbQA-dev/nbQA |
| 19 | + rev: 1.7.0 |
| 20 | + hooks: |
| 21 | + - id: nbqa-ruff |
| 22 | + - repo: https://github.com/econchick/interrogate |
| 23 | + rev: 1.5.0 |
| 24 | + hooks: |
| 25 | + - id: interrogate |
| 26 | + # needed to make excludes in pyproject.toml work |
| 27 | + # see here https://github.com/econchick/interrogate/issues/60#issuecomment-735436566 |
| 28 | + pass_filenames: false |
0 commit comments