forked from sfera-labs/exo-sense-py-modbus
-
Notifications
You must be signed in to change notification settings - Fork 48
/
.pre-commit-config.yaml
39 lines (37 loc) · 1009 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
35
36
37
38
39
---
# To install pre-commit hooks, install `pre-commit` and activate it here:
# pip3 install pre-commit
# pre-commit install
#
default_stages:
- commit
- push
- manual
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/brainelectronics/micropython-package-validation
rev: 0.5.0
hooks:
- id: upy-package
args:
- "--setup_file=setup.py"
- "--package_changelog_file=changelog.md"
- "--package_file=package.json"
- "--validate"
- repo: https://github.com/brainelectronics/changelog2version
rev: 0.10.0
hooks:
- id: changelog2version
args:
- "--changelog_file=changelog.md"
- "--version_file=umodbus/version.py"
- "--validate"