File: .pre-commit-config.yaml

package info (click to toggle)
setuptools-scm 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 304 kB
  • sloc: python: 1,923; sh: 12; makefile: 9
file content (20 lines) | stat: -rw-r--r-- 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
exclude: setuptools_scm/win_py31_compat.py
repos:
-   repo: https://github.com/ambv/black
    rev: 18.4a4
    hooks:
    - id: black
      args: [--safe, --quiet]
      python_version: python3.6
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v1.2.3
    hooks:
    -   id: trailing-whitespace
    -   id: end-of-file-fixer
    -   id: check-yaml
    -   id: debug-statements
    -   id: flake8
-   repo: https://github.com/asottile/pyupgrade
    rev: v1.2.0
    hooks:
    - id: pyupgrade