forked from deephaven/deephaven-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (34 loc) · 919 Bytes
/
.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
# templates cannot be properly checked for formatting due to the substitution syntax
exclude: templates
repos:
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.15.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==22.12.0
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.334
hooks:
- id: pyright
files: ((plugins\/.*\/src|sphinx_ext)\/.*\.py)|plugin_builder.py
additional_dependencies:
[
pandas,
deephaven-core,
plotly,
json-rpc,
matplotlib,
deephaven-plugin-utilities>=0.0.2,
sphinx,
click,
watchdog,
]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
hooks:
- id: ruff