Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit 276af10

Browse files
committed
feat: python refactor
1 parent a23b845 commit 276af10

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/yamllint.config.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
extends: default
2+
rules:
3+
truthy:
4+
allowed-values: ['true', 'false', 'on', 'yes']
5+
comments:
6+
min-spaces-from-content: 1
7+
line-length: disable
8+
braces:
9+
min-spaces-inside: 0
10+
max-spaces-inside: 1
11+
brackets:
12+
min-spaces-inside: 0
13+
max-spaces-inside: 0
14+
indentation:
15+
spaces: 2
16+
indent-sequences: consistent

.pre-commit-config.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ repos:
1111
- repo: https://github.com/adrienverge/yamllint
1212
rev: v1.26.1
1313
hooks:
14-
- id: yamllint
14+
- id: yamllint
15+
args:
16+
- -c
17+
- .github/yamllint.config.yaml
1518
- repo: git://github.com/Lucas-C/pre-commit-hooks
1619
rev: v1.1.9
1720
hooks:

0 commit comments

Comments
 (0)