Skip to content

Commit a176913

Browse files
committed
Initial vault support
- add vault support into the config - extract alerta stuff into alerta_client for better reuse - adapt epmon to support reconnect
1 parent 9dc560b commit a176913

File tree

7 files changed

+413
-138
lines changed

7 files changed

+413
-138
lines changed

.pre-commit-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
default_language_version:
3+
# force all unspecified python hooks to run python3
4+
python: python3
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v3.4.0
8+
hooks:
9+
- id: trailing-whitespace
10+
- id: mixed-line-ending
11+
args: ['--fix', 'lf']
12+
exclude: '.*\.(svg)$'
13+
- id: check-byte-order-marker
14+
- id: check-executables-have-shebangs
15+
- id: check-merge-conflict
16+
- id: debug-statements
17+
- id: check-yaml
18+
files: .*\.(yaml|yml)$
19+
- repo: local
20+
hooks:
21+
- id: flake8
22+
name: flake8
23+
additional_dependencies:
24+
- hacking>=3.0.1,<3.1.0
25+
language: python
26+
entry: flake8
27+
files: '^.*\.py$'
28+
exclude: '^(doc|releasenotes|tools)/.*$'

0 commit comments

Comments
 (0)