Skip to content

Commit 0ea1c1a

Browse files
committed
chore(repo-sentinel): switch consumer back to remote provider
1 parent 99fe7b6 commit 0ea1c1a

3 files changed

Lines changed: 2601 additions & 45 deletions

File tree

.pre-commit-config.yaml

Lines changed: 52 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +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: local
39-
hooks:
40-
- id: markdownlint-cli2
41-
name: markdownlint-cli2
42-
entry: python scripts/run_markdownlint.py
43-
language: system
44-
pass_filenames: true
45-
files: ^(TryHackMe/(?!_meta/)|notes/).+\.md$
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
39+
rev: 61f8efbf68e7b5d7d1e49ad20e491a065963a307
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)