-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
54 lines (52 loc) · 1.42 KB
/
.pre-commit-config.yaml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
exclude: '^tests'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-toml
- id: check-yaml
exclude: mkdocs.yaml
- id: pretty-format-json
args: [--autofix]
- id: trailing-whitespace
language: python
- id: check-merge-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
hooks:
- id: mypy
args: ["--ignore-missing-imports"]
additional_dependencies:
- pandas-stubs
- types-PyYAML==6.0.1
- types-requests==2.26.3
- types-setuptools==57.4.5
- types-Jinja2>=2.11.9
- types-toml>=0.10.3
- typed-ast>=1.5.2
- types-pkg-resources>=0.1.3
- pydantic>=1.9.0
- repo: https://github.com/conorfalvey/check_pdb_hook
rev: 0.0.9
hooks:
- id: check_pdb_hook
pass_filenames: false
- repo: https://github.com/econchick/interrogate
rev: 1.7.0
hooks:
- id: interrogate
args: [--verbose]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
hooks:
- id: bandit
args: [-lll, --recursive, clumper]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.1
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix]
- id: ruff-format