Projet

Général

Profil

0001-misc-run-pyupgrade-hook-first-69426.patch

Valentin Deniaud, 22 septembre 2022 11:40

Télécharger (1,17 ko)

Voir les différences:

Subject: [PATCH 1/3] misc: run pyupgrade hook first (#69426)

 .pre-commit-config.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
.pre-commit-config.yaml
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/asottile/pyupgrade
5
    rev: v2.20.0
6
    hooks:
7
    - id: pyupgrade
8
      args: ['--keep-percent-format', '--py37-plus']
4 9
-   repo: https://github.com/psf/black
5 10
    rev: 22.3.0
6 11
    hooks:
......
11 16
    hooks:
12 17
    - id: isort
13 18
      args: ['--profile', 'black', '--line-length', '110']
14
-   repo: https://github.com/asottile/pyupgrade
15
    rev: v2.20.0
16
    hooks:
17
    - id: pyupgrade
18
      args: ['--keep-percent-format', '--py37-plus']
19 19
-   repo: https://git.entrouvert.org/pre-commit-debian.git
20 20
    rev: v0.1
21 21
    hooks:
22
-