File: .pre-commit-config.yaml

package info (click to toggle)
python-aiostream 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: python: 2,816; makefile: 5
file content (36 lines) | stat: -rw-r--r-- 1,041 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
28
29
30
31
32
33
34
35
36
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.0
    hooks:
    -   id: check-yaml
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
-   repo: https://github.com/ambv/black
    rev: 25.9.0
    hooks:
    - id: black
      language_version: python3
-   repo: https://github.com/pycqa/flake8
    rev: 7.0.0
    hooks:
    - id: flake8
-   repo: https://github.com/pre-commit/mirrors-mypy
    # We can't use the latest version due to a regression in mypy 1.7.0
    # See https://github.com/python/mypy/issues/17191 for more information
    rev: v1.6.1
    hooks:
    - id: mypy
      additional_dependencies: [pytest, typing-extensions]
      types: [python]
-   repo: https://github.com/RobertCraigie/pyright-python
    rev: v1.1.362
    hooks:
    - id: pyright
      additional_dependencies: [pytest, typing-extensions]
      types: [python]
- repo: https://github.com/astral-sh/ruff-pre-commit
  # Ruff version.
  rev: v0.0.272
  hooks:
    - id: ruff
      args: [ --fix, --exit-non-zero-on-fix]