File: .pre-commit-config.yaml

package info (click to toggle)
python-pyproj 3.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,896 kB
  • sloc: python: 13,464; sh: 273; makefile: 88
file content (35 lines) | stat: -rw-r--r-- 1,019 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
default_language_version:
    python: python3.11

repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v4.5.0
        hooks:
        -   id: check-yaml
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    -   repo: https://github.com/asottile/blacken-docs
        rev: 1.16.0
        hooks:
        -   id: blacken-docs
            args: [--skip-errors]
    -   repo: https://github.com/pycqa/flake8
        rev: 7.0.0
        hooks:
        -   id: flake8
            additional_dependencies: [flake8-comprehensions>=3.1.0]
        -   id: flake8
            name: flake8-pyx
            files: \.(pyx|pxd)$
            types:
            - file
            args: [--append-config=flake8/cython.cfg]
    -   repo: https://github.com/codespell-project/codespell
        rev: v2.2.6
        hooks:
        -   id: codespell
    -   repo: https://github.com/astral-sh/ruff-pre-commit
        rev: v0.11.10
        hooks:
        - id: ruff-check
        - id: ruff-format