Skip to content

Commit a3bfe34

Browse files
committed
Merge branch 'release/v0.4.7'
2 parents 0c6f868 + ca6e64c commit a3bfe34

File tree

691 files changed

+52156
-32930
lines changed

Some content is hidden

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

691 files changed

+52156
-32930
lines changed

.coveragerc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ concurrency = multiprocessing
44
sigterm = True
55
[report]
66
exclude_lines =
7-
pragma: no cover
7+
if TYPE_CHECKING:
88
if __name__ == .__main__.:
9+
if typing.TYPE_CHECKING:
910
pass
11+
pragma: no cover

.github/workflows/continuous-integration-documentation.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ jobs:
2525
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
28+
- name: Clean Up Disk Space
29+
run: |
30+
df -h /
31+
32+
sudo rm -rf /usr/lib/jvm
33+
sudo rm -rf /usr/local/.ghcup
34+
sudo rm -rf /usr/local/lib/android
35+
sudo rm -rf /usr/local/share/powershell
36+
sudo rm -rf /usr/share/dotnet
37+
sudo rm -rf /usr/share/swift
38+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
39+
40+
df -h /
2841
- name: Install Dependencies
2942
run: |
3043
sudo apt-get update

.github/workflows/continuous-integration-quality-unit-tests.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [macOS-latest, ubuntu-latest, windows-latest]
11-
python-version: ["3.10", 3.11, 3.12, 3.13]
11+
python-version: [3.11, 3.12, 3.13, 3.14]
1212
fail-fast: false
1313
runs-on: ${{ matrix.os }}
1414
steps:
@@ -23,10 +23,6 @@ jobs:
2323
# https://github.com/scipy/scipy/issues/20613
2424
echo "OMP_NUM_THREADS=1" >> $GITHUB_ENV
2525
shell: bash
26-
- name: Set up Python 3.10 for Pre-Commit
27-
uses: actions/setup-python@v5
28-
with:
29-
python-version: "3.10"
3026
- name: Set up Python ${{ matrix.python-version }}
3127
uses: actions/setup-python@v5
3228
with:
@@ -48,19 +44,13 @@ jobs:
4844
shell: bash
4945
- name: Install Package Dependencies
5046
run: |
51-
uv sync --all-extras --no-dev
47+
uv sync --all-extras
5248
uv run python -c "import imageio;imageio.plugins.freeimage.download()"
5349
shell: bash
54-
- name: Install OpenImageIO (macOs)
55-
if: matrix.os == 'macOS-latest' && matrix.python-version == '3.12'
56-
run: |
57-
brew install openimageio
58-
ln -s /opt/homebrew/Cellar/openimageio/*/lib/python*/site-packages/OpenImageIO/OpenImageIO*.so ./.venv/lib/python3.12/site-packages/OpenImageIO.so
59-
uv run python -c "import OpenImageIO;print(OpenImageIO.__version__)"
60-
shell: bash
61-
- name: Pre-Commit (All Files)
50+
- name: Prek (All Files)
51+
if: matrix.os == 'macOS-latest'
6252
run: |
63-
uv run pre-commit run --all-files
53+
uv run prek run --all-files
6454
shell: bash
6555
- name: Test Optimised Python Execution
6656
run: |
@@ -71,7 +61,7 @@ jobs:
7161
uv run python -W ignore -m pytest --doctest-modules --ignore=$CI_PACKAGE/examples --cov=$CI_PACKAGE $CI_PACKAGE
7262
shell: bash
7363
- name: Upload Coverage to coveralls.io
74-
if: matrix.os == 'macOS-latest' && matrix.python-version == '3.12'
64+
if: matrix.os == 'macOS-latest' && matrix.python-version == '3.13'
7565
run: |
7666
if [ -z "$COVERALLS_REPO_TOKEN" ]; then echo \"COVERALLS_REPO_TOKEN\" secret is undefined!; else uv run coveralls; fi
7767
shell: bash

.gitignore

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
1+
# Common Files
12
*.egg-info
23
*.pyc
34
*.pyo
45
.DS_Store
56
.coverage*
6-
.fleet
7-
.idea
8-
.ipynb_checkpoints
7+
CLAUDE.md
8+
uv.lock
9+
10+
# Common Directories
11+
.claude/
12+
.fleet/
13+
.idea/
14+
.ipynb_checkpoints/
915
.python-version
10-
.vs
11-
.vscode
12-
.sandbox
16+
.vs/
17+
.vscode/
18+
.sandbox/
19+
build/
20+
dist/
21+
docs/_build/
22+
docs/generated/
23+
node_modules/
24+
references/
1325

1426
__pycache__
1527

16-
build
17-
dist
18-
docs/_build
28+
# Project Files
29+
AGraph.png
1930
docs/_static/Basics_*.png
2031
docs/_static/Examples_*.png
2132
docs/_static/Plotting_*.png
2233
docs/_static/Tutorial_*.png
23-
docs/generated
24-
references
25-
uv.lock

.pre-commit-config.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: "v4.5.0"
3+
rev: "v5.0.0"
44
hooks:
55
- id: check-added-large-files
66
- id: check-case-conflict
@@ -16,32 +16,31 @@ repos:
1616
- id: requirements-txt-fixer
1717
- id: trailing-whitespace
1818
- repo: https://github.com/codespell-project/codespell
19-
rev: v2.2.6
19+
rev: v2.4.1
2020
hooks:
2121
- id: codespell
22-
args: ["--ignore-words-list=co-ordinates,exitance,fro,hart,ist"]
22+
args:
23+
[
24+
"--ignore-words-list=co-ordinates,exitance,hart,ist,rIn,shepard,socio-economic",
25+
]
2326
exclude: "BIBLIOGRAPHY.bib|CONTRIBUTORS.rst"
24-
- repo: https://github.com/ikamensh/flynt
25-
rev: "1.0.1"
26-
hooks:
27-
- id: flynt
28-
args: [--verbose]
2927
- repo: https://github.com/PyCQA/isort
30-
rev: "5.13.2"
28+
rev: "6.0.1"
3129
hooks:
3230
- id: isort
3331
- repo: https://github.com/astral-sh/ruff-pre-commit
34-
rev: "v0.1.14"
32+
rev: "v0.12.4"
3533
hooks:
3634
- id: ruff-format
3735
- id: ruff
36+
args: [--fix]
3837
- repo: https://github.com/adamchainz/blacken-docs
39-
rev: 1.16.0
38+
rev: 1.19.1
4039
hooks:
4140
- id: blacken-docs
42-
language_version: python3.10
41+
language_version: python3.11
4342
- repo: https://github.com/pre-commit/mirrors-prettier
44-
rev: "v3.1.0"
43+
rev: "v4.0.0-alpha.8"
4544
hooks:
4645
- id: prettier
4746
exclude: config-aces-reference.ocio.yaml

0 commit comments

Comments
 (0)