blob: 2780448f059807f1ee983f4369f5d56561e181ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/python/black.git
rev: 19.3b0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v2.2.3
hooks:
- id: check-added-large-files
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://gitlab.com/pycqa/flake8.git
rev: 3.7.8
hooks:
- id: flake8
args: ['--config=setup.cfg']
types: [python]
additional_dependencies:
- flake8>=3.7.8
- flake8-black
language_version: python3
|