You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
861 B
31 lines
861 B
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v3.2.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.8.3
|
|
hooks:
|
|
- id: flake8
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.782
|
|
hooks:
|
|
- id: mypy
|
|
- repo: https://github.com/psf/black
|
|
rev: 20.8b1
|
|
hooks:
|
|
- id: black
|
|
name: black
|
|
description: "Black: The uncompromising Python code formatter"
|
|
entry: black
|
|
language: python
|
|
language_version: python3
|
|
minimum_pre_commit_version: 2.9.2
|
|
require_serial: true
|
|
types_or: [python, pyi]
|