File: pre-commit-config.sample.yaml

package info (click to toggle)
python-anyio 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 692 kB
  • sloc: python: 6,113; makefile: 4; sh: 2
file content (24 lines) | stat: -rw-r--r-- 699 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
# This is the configuration file for pre-commit (https://pre-commit.com/).
# To use:
# * Install pre-commit (https://pre-commit.com/#installation)
# * Copy this file as ".pre-commit-config.yaml"
# * Run "pre-commit install".
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.2.0
    hooks:
    - id: check-toml
    - id: debug-statements
    - id: end-of-file-fixer
    - id: mixed-line-ending
      args: ["--fix=lf"]
    - id: trailing-whitespace
-   repo: https://github.com/pre-commit/mirrors-autopep8
    rev: v1.5.4
    hooks:
    - id: autopep8
-   repo: https://github.com/pycqa/isort
    rev: 5.5.1
    hooks:
    - id: isort
      additional_dependencies: [toml]