Skip to content

Commit f7bba6c

Browse files
authored
Merge pull request #1153 from VisLab/json_schema
Prerelease cleanup
2 parents f8af174 + dec7afb commit f7bba6c

File tree

401 files changed

+161700
-161572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+161700
-161572
lines changed

.codespellrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[codespell]
2-
skip = .git,*.pdf,*.svg,deprecated,*.xml,*.mediawiki,*.omn
3-
ignore-words-list = covert,hed,recuse,disjointness
1+
[codespell]
2+
skip = .git,*.pdf,*.svg,deprecated,*.xml,*.mediawiki,*.omn
3+
ignore-words-list = covert,hed,recuse,disjointness

.gitattributes

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
11
hed/_version.py export-subst
2+
3+
# Set default behavior to automatically normalize line endings to LF
4+
* text=auto eol=lf
5+
6+
# Explicitly declare text files you want to always be normalized and converted to LF on checkout
7+
*.xml text eol=lf
8+
*.mediawiki text eol=lf
9+
*.tsv text eol=lf
10+
*.md text eol=lf
11+
*.rst text eol=lf
12+
*.txt text eol=lf
13+
*.py text eol=lf
14+
*.sh text eol=lf
15+
*.yml text eol=lf
16+
*.yaml text eol=lf
17+
*.json text eol=lf
18+
*.toml text eol=lf
19+
*.svg text eol=lf
20+
*.css text eol=lf
21+
*.js text eol=lf
22+
*.html text eol=lf
23+
24+
# Denote all files that are truly binary and should not be modified
25+
*.png binary
26+
*.jpg binary
27+
*.jpeg binary
28+
*.gif binary
29+
*.ico binary
30+
*.pdf binary
31+
*.zip binary
32+
*.gz binary
33+
*.tar binary
34+
*.mp3 binary
35+
*.mp4 binary
36+
*.mov binary
37+
*.avi binary
38+
*.exe binary
39+
*.dll binary
40+
*.so binary
41+
*.dylib binary
42+
*.class binary
43+
*.jar binary
44+
*.war binary

.github/dependabot.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
version: 2
2-
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
target-branch: "main"
6-
schedule:
7-
interval: "weekly"
8-
- package-ecosystem: "pip"
9-
directory: "/"
10-
target-branch: "main"
11-
schedule:
12-
interval: "weekly"
13-
14-
- package-ecosystem: gitsubmodule
15-
schedule:
16-
interval: "daily"
17-
target-branch: "main"
18-
directory: /
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
target-branch: "main"
6+
schedule:
7+
interval: "weekly"
8+
- package-ecosystem: "pip"
9+
directory: "/"
10+
target-branch: "main"
11+
schedule:
12+
interval: "weekly"
13+
14+
- package-ecosystem: gitsubmodule
15+
schedule:
16+
interval: "daily"
17+
target-branch: "main"
18+
directory: /

.github/workflows/black.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
name: Black Code Formatter Check
2-
3-
on:
4-
push:
5-
branches: ["*"]
6-
pull_request:
7-
branches: ["*"]
8-
9-
permissions:
10-
contents: read
11-
12-
jobs:
13-
black:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v5
17-
18-
- name: Set up Python
19-
uses: actions/setup-python@v6
20-
with:
21-
python-version: "3.12"
22-
23-
- name: Install Black
24-
run: |
25-
python -m pip install --upgrade pip
26-
pip install black>=24.0.0
27-
28-
- name: Check code formatting with Black
29-
run: |
30-
black --check --diff --workers 1 .
1+
name: Black Code Formatter Check
2+
3+
on:
4+
push:
5+
branches: ["*"]
6+
pull_request:
7+
branches: ["*"]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
black:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v6
20+
with:
21+
python-version: "3.12"
22+
23+
- name: Install Black
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install black>=24.0.0
27+
28+
- name: Check code formatting with Black
29+
run: |
30+
black --check --diff --workers 1 .

.github/workflows/docs.yml

Lines changed: 86 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
1-
name: Deploy Documentation
2-
3-
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
8-
9-
permissions:
10-
contents: read
11-
pages: write
12-
id-token: write
13-
14-
concurrency:
15-
group: "pages"
16-
cancel-in-progress: false
17-
18-
jobs:
19-
build:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@v5
23-
with:
24-
fetch-depth: 0
25-
26-
- name: Set up Python
27-
uses: actions/setup-python@v6
28-
with:
29-
python-version: '3.10'
30-
31-
- name: Cache dependencies
32-
uses: actions/cache@v4
33-
with:
34-
path: ~/.cache/pip
35-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
36-
restore-keys: |
37-
${{ runner.os }}-pip-
38-
39-
- name: Install dependencies
40-
run: |
41-
python -m pip install --upgrade pip
42-
pip install -r docs/requirements.txt
43-
pip install -e .
44-
45-
- name: Configure Git for GitHub Pages
46-
run: |
47-
git config user.name github-actions
48-
git config user.email github-actions@github.com
49-
50-
- name: Build documentation
51-
run: |
52-
cd docs
53-
sphinx-build -b html . _build/html
54-
55-
- name: Setup Pages
56-
uses: actions/configure-pages@v5
57-
58-
- name: Upload artifact
59-
uses: actions/upload-pages-artifact@v4
60-
with:
61-
path: ./docs/_build/html
62-
63-
#------------------------------------------------
64-
# Deploy Job: Deploys the built site
65-
#------------------------------------------------
66-
deploy:
67-
# This job depends on the 'build' job completing successfully
68-
needs: build
69-
# Only deploy when pushing to main branch, not on pull requests
70-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
71-
permissions:
72-
pages: write
73-
id-token: write
74-
runs-on: ubuntu-latest
75-
76-
# Specify the deployment environment
77-
environment:
78-
name: github-pages
79-
# The URL will be automatically set by the deployment step's output
80-
url: ${{ steps.deployment.outputs.page_url }}
81-
82-
steps:
83-
- name: Deploy to GitHub Pages
84-
# This is the official action for deploying the artifact to GitHub Pages
85-
id: deployment
86-
uses: actions/deploy-pages@v4
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v5
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Set up Python
27+
uses: actions/setup-python@v6
28+
with:
29+
python-version: '3.10'
30+
31+
- name: Cache dependencies
32+
uses: actions/cache@v4
33+
with:
34+
path: ~/.cache/pip
35+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
36+
restore-keys: |
37+
${{ runner.os }}-pip-
38+
39+
- name: Install dependencies
40+
run: |
41+
python -m pip install --upgrade pip
42+
pip install -r docs/requirements.txt
43+
pip install -e .
44+
45+
- name: Configure Git for GitHub Pages
46+
run: |
47+
git config user.name github-actions
48+
git config user.email github-actions@github.com
49+
50+
- name: Build documentation
51+
run: |
52+
cd docs
53+
sphinx-build -b html . _build/html
54+
55+
- name: Setup Pages
56+
uses: actions/configure-pages@v5
57+
58+
- name: Upload artifact
59+
uses: actions/upload-pages-artifact@v4
60+
with:
61+
path: ./docs/_build/html
62+
63+
#------------------------------------------------
64+
# Deploy Job: Deploys the built site
65+
#------------------------------------------------
66+
deploy:
67+
# This job depends on the 'build' job completing successfully
68+
needs: build
69+
# Only deploy when pushing to main branch, not on pull requests
70+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
71+
permissions:
72+
pages: write
73+
id-token: write
74+
runs-on: ubuntu-latest
75+
76+
# Specify the deployment environment
77+
environment:
78+
name: github-pages
79+
# The URL will be automatically set by the deployment step's output
80+
url: ${{ steps.deployment.outputs.page_url }}
81+
82+
steps:
83+
- name: Deploy to GitHub Pages
84+
# This is the official action for deploying the artifact to GitHub Pages
85+
id: deployment
86+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)