Skip to content

Commit d6c987e

Browse files
committed
chore(repo-sentinel): normalize pre-commit config line endings
1 parent 53eecbe commit d6c987e

1 file changed

Lines changed: 51 additions & 51 deletions

File tree

.pre-commit-config.yaml

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
---
2-
minimum_pre_commit_version: "3.6.0"
3-
repos:
4-
- repo: local
5-
hooks:
6-
- id: validate-tags-doc
7-
name: validate-tags-doc
8-
entry: python scripts/render_tags_doc.py --check
9-
language: system
10-
pass_filenames: false
11-
always_run: true
12-
- id: validate-readme-snapshot
13-
name: validate-readme-snapshot
14-
entry: python scripts/render_readme_snapshot.py --check
15-
language: system
16-
pass_filenames: false
17-
files: >-
18-
^(README\.md|TryHackMe/(?!_meta/).+\.md|notes/.+\.md|
19-
scripts/render_readme_snapshot\.py)$
20-
- id: validate-frontmatter
21-
name: validate-frontmatter
22-
entry: python scripts/check_markdown.py
23-
language: python
24-
additional_dependencies:
25-
- PyYAML>=6.0,<7.0
26-
- jsonschema>=4.23,<5.0
27-
files: ^(TryHackMe|notes)/.*\.md$
28-
- id: validate-placeholders
29-
name: validate-placeholders
30-
entry: python scripts/check_placeholders.py
31-
language: system
32-
pass_filenames: true
33-
files: ^(TryHackMe/(?!_meta/)|notes/).+\.md$
34-
- repo: https://github.com/adrienverge/yamllint
35-
rev: v1.38.0
36-
hooks:
37-
- id: yamllint
38-
- repo: https://github.com/stacknil/repo-sentinel-lite
1+
---
2+
minimum_pre_commit_version: "3.6.0"
3+
repos:
4+
- repo: local
5+
hooks:
6+
- id: validate-tags-doc
7+
name: validate-tags-doc
8+
entry: python scripts/render_tags_doc.py --check
9+
language: system
10+
pass_filenames: false
11+
always_run: true
12+
- id: validate-readme-snapshot
13+
name: validate-readme-snapshot
14+
entry: python scripts/render_readme_snapshot.py --check
15+
language: system
16+
pass_filenames: false
17+
files: >-
18+
^(README\.md|TryHackMe/(?!_meta/).+\.md|notes/.+\.md|
19+
scripts/render_readme_snapshot\.py)$
20+
- id: validate-frontmatter
21+
name: validate-frontmatter
22+
entry: python scripts/check_markdown.py
23+
language: python
24+
additional_dependencies:
25+
- PyYAML>=6.0,<7.0
26+
- jsonschema>=4.23,<5.0
27+
files: ^(TryHackMe|notes)/.*\.md$
28+
- id: validate-placeholders
29+
name: validate-placeholders
30+
entry: python scripts/check_placeholders.py
31+
language: system
32+
pass_filenames: true
33+
files: ^(TryHackMe/(?!_meta/)|notes/).+\.md$
34+
- repo: https://github.com/adrienverge/yamllint
35+
rev: v1.38.0
36+
hooks:
37+
- id: yamllint
38+
- repo: https://github.com/stacknil/repo-sentinel-lite
3939
rev: v0.6.1
40-
hooks:
41-
- id: repo-sentinel-error
42-
stages:
43-
- pre-push
44-
- manual
45-
- repo: local
46-
hooks:
47-
- id: markdownlint-cli2
48-
name: markdownlint-cli2
49-
entry: python scripts/run_markdownlint.py
50-
language: system
51-
pass_filenames: true
52-
files: ^(TryHackMe/(?!_meta/)|notes/).+\.md$
40+
hooks:
41+
- id: repo-sentinel-error
42+
stages:
43+
- pre-push
44+
- manual
45+
- repo: local
46+
hooks:
47+
- id: markdownlint-cli2
48+
name: markdownlint-cli2
49+
entry: python scripts/run_markdownlint.py
50+
language: system
51+
pass_filenames: true
52+
files: ^(TryHackMe/(?!_meta/)|notes/).+\.md$

0 commit comments

Comments
 (0)