-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpre-commit-config.yml
More file actions
36 lines (30 loc) · 891 Bytes
/
pre-commit-config.yml
File metadata and controls
36 lines (30 loc) · 891 Bytes
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
29
30
31
32
33
34
35
36
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.8
- repo: https://github.com/myint/docformatter
rev: v1.3
hooks:
- id: docformatter
name: docformatter
description: 'Formats docstrings to follow PEP 257.'
entry: docformatter
args: [-i, --pre-summary-newline, --recursive, toad_sp_data]
language: python
types: [python]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: flake8
args: ["--max-line-length", "88", "toad_sp_data", "tests"]
- repo: local
hooks:
- id: mypy
name: Check mypy static types match
entry: mypy
pass_filenames: false
args: ["toad_sp_command", "--no-strict-optional", "--ignore-missing-imports"]
language: system
types: [python]