Skip to content

Commit 4f21c09

Browse files
committed
update infra
1 parent a5bb2f6 commit 4f21c09

File tree

9 files changed

+52
-53
lines changed

9 files changed

+52
-53
lines changed

.github/workflows/check_markdown.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/check_md_links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- master
99
pull_request:
10-
branches: '*'
10+
branches: ['*']
1111

1212
jobs:
1313
markdown-link-check:

.github/workflows/miss_hit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
pull_request:
8-
branches: '*'
8+
branches: ['*']
99

1010
jobs:
1111
build:

.github/workflows/moxunit.yml renamed to .github/workflows/run_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: MOxUnit
1+
name: tests and coverage
22

33
on:
44
push:
55
branches:
66
- master
77
pull_request:
8-
branches: '*'
8+
branches: ['*']
99

1010
jobs:
1111
build:

.pre-commit-config.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
repos:
2+
3+
- repo: local
4+
5+
hooks:
6+
7+
- id: mh_version
8+
name: mh_version
9+
entry: mh_style
10+
args: [-v]
11+
verbose: true
12+
language: python
13+
additional_dependencies: [miss_hit_core]
14+
15+
- id: mh_style
16+
name: mh_style
17+
entry: mh_style
18+
args: [--process-slx, --fix]
19+
files: ^(.*\.(m|slx))$
20+
language: python
21+
additional_dependencies: [miss_hit_core]
22+
23+
- id: mh_metric
24+
name: mh_metric
25+
entry: mh_metric
26+
args: [--ci]
27+
files: ^(.*\.(m|slx))$
28+
language: python
29+
additional_dependencies: [miss_hit_core]
30+
31+
- id: mh_lint
32+
name: mh_lint
33+
entry: mh_lint
34+
files: ^(.*\.(m|slx))$
35+
language: python
36+
additional_dependencies: [miss_hit]
37+
38+
- repo: https://github.com/pre-commit/pre-commit-hooks
39+
rev: v2.0.0
40+
hooks:
41+
- id: trailing-whitespace
42+
- id: end-of-file-fixer
43+
- id: check-yaml
44+
- id: check-added-large-files

.remarkrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ help:
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21+
22+
doc:
23+
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)"

npm-requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.2.0
1+
v1.2.1

0 commit comments

Comments
 (0)