File: .pre-commit-config.yaml

package info (click to toggle)
python-gitlab 1%3A4.9.0-1.2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 3,076 kB
  • sloc: python: 24,172; makefile: 167; ruby: 27; javascript: 3
file content (52 lines) | stat: -rw-r--r-- 1,323 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
default_language_version:
    python: python3

repos:
  - repo: https://github.com/psf/black
    rev: 24.8.0
    hooks:
      - id: black
  - repo: https://github.com/commitizen-tools/commitizen
    rev: v3.28.0
    hooks:
      - id: commitizen
        stages: [commit-msg]
  - repo: https://github.com/pycqa/flake8
    rev: 7.1.1
    hooks:
      - id: flake8
  - repo: https://github.com/pycqa/isort
    rev: 5.13.2
    hooks:
      - id: isort
  - repo: https://github.com/pycqa/pylint
    rev: v3.2.6
    hooks:
      - id: pylint
        additional_dependencies:
          - argcomplete==2.0.0
          - pytest==7.4.2
          - requests==2.28.1
          - requests-toolbelt==1.0.0
        files: 'gitlab/'
  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.11.1
    hooks:
      - id: mypy
        args: []
        additional_dependencies:
          - jinja2==3.1.2
          - pytest==7.4.2
          - responses==0.23.3
          - types-PyYAML==6.0.12
          - types-requests==2.28.11.2
  - repo: https://github.com/pre-commit/pygrep-hooks
    rev: v1.10.0
    hooks:
      - id: rst-backticks
      - id: rst-directive-colons
      - id: rst-inline-touching-normal
  - repo: https://github.com/maxbrunet/pre-commit-renovate
    rev: 38.18.17
    hooks:
      - id: renovate-config-validator