File: .pre-commit-config.yaml

package info (click to toggle)
python-recipe-scrapers 15.7.1-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 215,316 kB
  • sloc: python: 12,205; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (2)
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
exclude: '.test(html|json)'
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
    -   id: check-yaml
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
    -   id: pretty-format-json
        args:
            - "--autofix"
            - "--no-sort-keys"
            - "--no-ensure-ascii"
-   repo: https://github.com/pycqa/flake8.git
    rev: 7.1.1
    hooks:
    - id: flake8
      additional_dependencies: ["pep8-naming==0.14.1"]
-   repo: https://github.com/psf/black
    rev: 24.10.0
    hooks:
    - id: black
      args: ["--target-version", "py39"]
-   repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.14.0
    hooks:
    - id: mypy
      additional_dependencies: [types-beautifulsoup4, types-requests]