Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
cd5e132
Changed 'uv sync --upgrade' to 'uv sync -U'
ClaasRostock Feb 19, 2026
05e85e8
Removed redundant 'Set up Python' steps (no longer needed, as 'uv syn…
ClaasRostock Feb 19, 2026
2b37c44
Removed redundant 'Set up Python' steps (no longer needed, as 'uv syn…
ClaasRostock Feb 19, 2026
764f54c
Added 'name: Checkout code' to uses of 'actions/checkout', for better…
ClaasRostock Feb 19, 2026
8712361
Added 'name: Upload build artifacts' to uses of 'actions/upload-artif…
ClaasRostock Feb 19, 2026
4e05fe6
Added 'name: Download build artifacts' to uses of 'actions/download-a…
ClaasRostock Feb 19, 2026
4e01ad6
Ensured that actions 'upload-artifact' and 'download-artifact' unifor…
ClaasRostock Feb 19, 2026
01b0512
Replaced 'Run twine check' with 'Check build artifacts' in workflow s…
ClaasRostock Feb 19, 2026
a11f79f
Replaced 'Build source distribution and wheel' with 'Build source dis…
ClaasRostock Feb 19, 2026
82b1c8c
Added 'name: Publish to PyPI' to uses of 'pypa/gh-action-pypi-publish…
ClaasRostock Feb 19, 2026
94d335a
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Feb 19, 2026
29c95e4
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Feb 19, 2026
8ccfc31
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Feb 19, 2026
a373909
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Feb 19, 2026
2212f68
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Feb 19, 2026
d56410d
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Feb 19, 2026
5761fe9
_test.yml: Updated Python versions in test matrix to 3.11, 3.12, 3.13…
ClaasRostock Feb 19, 2026
3b6d940
_test_future.yml: Updated Python version in test_future to 3.15.0-alp…
ClaasRostock Feb 19, 2026
9eb6688
_test_future.yml: Updated name of test_future job to 'test315'
ClaasRostock Feb 19, 2026
1961be8
_test_future.yml: Updated Python specifier in comment to 3.15
ClaasRostock Feb 19, 2026
94c4b46
_test_future.yml: Updated Python specifier in workflow name to py315
ClaasRostock Feb 19, 2026
60587b4
pull_request_to_main.yml and nightly_build.yml: Added 'workflow_dispa…
ClaasRostock Feb 19, 2026
2168e93
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
145a385
pyproject.toml: Added required-environments to uv.tools (windows, linux)
ClaasRostock Feb 19, 2026
1b9cfd8
Removed upper version constraint from required Python version, i.e. c…
ClaasRostock Feb 19, 2026
f0342aa
pyproject.toml: Updated supported Python versions to 3.11, 3.12, 3.13…
ClaasRostock Feb 19, 2026
ded19a1
pyproject.toml: Removed deprecated pyright setting 'reportShadowedImp…
ClaasRostock Feb 19, 2026
5b313a6
pyproject.toml: Removed deprecated mypy plugin 'numpy.typing.mypy_plu…
ClaasRostock Feb 19, 2026
ad4f4b8
pyproject.toml: Removed leading carets and trailing slashes from 'exc…
ClaasRostock Feb 19, 2026
7d8f047
pyproject.toml: Removed trailing slashes from 'exclude' paths
ClaasRostock Feb 19, 2026
4289b7a
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
8b23de8
Sphinx conf.py: Removed ruff rule exception on file level
ClaasRostock Feb 19, 2026
f3562cb
Sphinx conf.py: Updated year in copyright statement to 2026
ClaasRostock Feb 19, 2026
16b7221
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
06bc5ad
VS Code settings: (Recommended extensions): Removed deprecated Intell…
ClaasRostock Feb 19, 2026
b45e98f
VS Code Settings: (Recommended extensions): Removed 'njqdev.vscode-py…
ClaasRostock Feb 19, 2026
089db26
VS Code settings: Updated 'mypy-type-checker.reportingScope' to 'cust…
ClaasRostock Feb 19, 2026
88f8b6c
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
58c9dd4
.pre-commit-config.yaml: Updated id of ruff to ruff-check
ClaasRostock Feb 19, 2026
c68e72d
ruff.toml: Updated target Python version to "py311"
ClaasRostock Feb 19, 2026
3188f9b
.sourcery.yaml: Updated the lowest Python version the project support…
ClaasRostock Feb 19, 2026
7aa8884
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
10cac57
Updated to sphinxcontrib-mermaid>=2.0
ClaasRostock Feb 19, 2026
3fd9982
Updated to sourcery>=1.43.0
ClaasRostock Feb 19, 2026
4725eac
Updated to numpy>=2.3
ClaasRostock Feb 19, 2026
fce8823
Updated to myst-parser>=5.0
ClaasRostock Feb 19, 2026
fc037b5
Updated to pyright>=1.1.408
ClaasRostock Feb 19, 2026
6963cf6
Updated to furo>=2025.12
ClaasRostock Feb 19, 2026
0dfb914
Updated to pytest>=9.0
ClaasRostock Feb 19, 2026
ddebac6
Updated to jupyter>=1.1.1
ClaasRostock Feb 19, 2026
5cb8d4b
Updated to sphinx-argparse-cli>=1.20.1
ClaasRostock Feb 19, 2026
f235347
Updated to sympy>=1.14.0
ClaasRostock Feb 19, 2026
e3dedd1
Updated to plotly>=6.5
ClaasRostock Feb 19, 2026
19bfc98
Updated to docutils>=0.22.4
ClaasRostock Feb 19, 2026
179d73f
Updated to mypy>=1.19.1
ClaasRostock Feb 19, 2026
1e1bf3e
Updated to pre-commit>=4.5
ClaasRostock Feb 19, 2026
b5074e5
Updated to ruff>=0.15.1
ClaasRostock Feb 19, 2026
c72389d
Updated to sphinx-autodoc-typehints>=3.6
ClaasRostock Feb 19, 2026
9718a2b
Updated to pytest-cov>=7.0
ClaasRostock Feb 19, 2026
330684e
Updated to pydantic>=2.12
ClaasRostock Feb 19, 2026
c0ccd42
.pre-commit-config.yaml: Updated rev of pre-commit-hooks to v6.0.0
ClaasRostock Feb 19, 2026
4cb0030
.pre-commit-config.yaml: Updated rev of ruff-pre-commit to v0.15.1
ClaasRostock Feb 19, 2026
53d56a9
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
dd310f4
Updated 'checkout' action to v5
ClaasRostock Feb 19, 2026
e882d93
Updated 'setup-uv' action to v7
ClaasRostock Feb 19, 2026
35c6ab7
Updated 'upload-artifact' action to v5
ClaasRostock Feb 19, 2026
bd407cf
Updated 'download-artifact' action to v5
ClaasRostock Feb 19, 2026
f13ac34
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
25b7dec
Updated to numpy>=2.3 (removed split version specifiers)
ClaasRostock Feb 19, 2026
4f0ae37
Updated to libcosimpy>=0.0.5
ClaasRostock Feb 19, 2026
656083d
updated uv.lock
ClaasRostock Feb 19, 2026
62efc23
cleaned up CHANGELOG.md
ClaasRostock Feb 19, 2026
ec1be21
updated files in root folder with latest changes in python_project_te…
ClaasRostock Feb 19, 2026
56bcf3b
Updated to sphinx>=9.0
ClaasRostock Feb 19, 2026
f563aeb
Updated CHANGELOG.md
ClaasRostock Feb 19, 2026
9650f77
updated uv.lock
ClaasRostock Feb 19, 2026
d73b72d
updated GitHub workflows with latest changes in python_project_templa…
ClaasRostock Feb 19, 2026
d153751
updated Visual Studio Code settings with latest changes in python_pro…
ClaasRostock Feb 19, 2026
1105dac
src/sim_explorer/cli/__main__.py: updated with latest changes in pyth…
ClaasRostock Feb 19, 2026
ef3f08b
updated files in /tests with latest changes in python_project_templat…
ClaasRostock Feb 19, 2026
2eca40a
pyproject.toml: Renamed optional dependency group 'modelTest' to 'tes…
ClaasRostock Feb 19, 2026
5430e39
updated uv.lock
ClaasRostock Feb 19, 2026
cd382d7
docs/source/conf.py: updated with latest changes in python_project_te…
ClaasRostock Feb 19, 2026
ba2857d
Sphinx documentation: Added docs for modules assertion.py, exceptions…
ClaasRostock Feb 19, 2026
d5f76a7
src/sim_explorer/case.py: Corrected formatting of module docstring, r…
ClaasRostock Feb 19, 2026
b7678df
src/sim_explorer/system_interface_osp.py: Corrected formatting of mod…
ClaasRostock Feb 19, 2026
de11a2b
resolved issues raised by ruff
ClaasRostock Feb 19, 2026
b288df4
resolved issues raised by pyright
ClaasRostock Feb 19, 2026
79b7e82
resolved issues raised by mypy
ClaasRostock Feb 19, 2026
637f643
resolved one issue raised by sourcery
ClaasRostock Feb 19, 2026
7898ea0
src/sim_explorer/case.py: moved import of Assertion back into the bod…
ClaasRostock Feb 19, 2026
6e93e2d
GitHub workflow _test.yml: Temporarily reduced Python versions to onl…
ClaasRostock Feb 19, 2026
ba89776
GitHub workflow _test.yml: Re-enabled testing on all Python versions,…
ClaasRostock Feb 19, 2026
c333302
OspSystemStructure.xml files: Added missing (yet mandatory) <Algorith…
ClaasRostock Feb 19, 2026
228beff
Added a new module `codegen.py` in sub-package `utils`, defining a he…
ClaasRostock Feb 20, 2026
c18dd72
Refactored class `Assertion` in module `assertion.py` to use the new …
ClaasRostock Feb 20, 2026
e4df47e
Updated tests in `tests/test_assertion.py`, to use newly added helper…
ClaasRostock Feb 20, 2026
8a64ca2
src/sim_explorer/utils/osp.py: Make sure that generated OspSystemStru…
ClaasRostock Feb 20, 2026
0d394e3
(all OspSystemStructure.xml files): Make sure all OspSystemStructure.…
ClaasRostock Feb 20, 2026
7f3ce65
tests/test_utils.py: Added tests for new helper function `get_callabl…
ClaasRostock Feb 20, 2026
6459780
tests/data/Oscillator: Updated `HarmonicOscillator.fmu` and related t…
ClaasRostock Feb 20, 2026
fa4dfa7
tests/data/BouncingBall3D: Updated `BouncingBall3D.fmu`.
ClaasRostock Feb 20, 2026
cb09f9a
tests/data/MobileCrane: Updated `MobileCrane.fmu` and related tests.
ClaasRostock Feb 20, 2026
9b106bb
updated CHANGELOG.md
ClaasRostock Feb 20, 2026
e06fee0
Added tests/data/TimeTableFMU.fmu
ClaasRostock Feb 20, 2026
d4edab5
temporary correction of folder name tests/data/SimpleTable
ClaasRostock Feb 20, 2026
7e000a2
Updated tests/data/TimeTableFMU.fmu
ClaasRostock Feb 20, 2026
d710da7
Updated tests/data/Oscillator/HarmonicOscillator.fmu
ClaasRostock Feb 20, 2026
b8687b9
Repaired tests (except the tests in `test_cli.py`)
ClaasRostock Feb 20, 2026
70ee937
Renamed folder tests/data/SimpleTable to tests/data/TimeTable
ClaasRostock Feb 20, 2026
2899252
Replaced 'simpleTable' with 'timeTable'
ClaasRostock Feb 20, 2026
f16129e
Removed tests/data/TimeTable/SimpleTable.fmu (no longer in use, repla…
ClaasRostock Feb 20, 2026
f29c0b5
tests/test_working_directory/.gitignore: Added `*.xml` and `*.fmu` to…
ClaasRostock Feb 20, 2026
9825e56
tests/test_oscillator_fmu.py: Make sure FMUs get built in tests/test_…
ClaasRostock Feb 20, 2026
1118859
pyproject.toml: Added scipy>=1.16 to optional dependency group 'test'…
ClaasRostock Feb 20, 2026
2ecbcbf
tests/conftest.py: Change scope of top level fixtures from "package" …
ClaasRostock Feb 20, 2026
2a32d2e
src/sim_explorer/__init__.py: Added `import libcosimpy.CosimLibrary` …
ClaasRostock Feb 20, 2026
81067a2
tests/data/MobileCrane/OspSystemStructure.xml: formatted
ClaasRostock Feb 20, 2026
1dd3126
tests/data/TimeTable/OspSystemStructure.xml: formatted
ClaasRostock Feb 20, 2026
b269f8b
Updated tests/data/TimeTableFMU.fmu
ClaasRostock Feb 20, 2026
0a8aa0f
Repaired tests (except the tests in `test_cli.py`)
ClaasRostock Feb 20, 2026
fff3ff9
Repaired tests in `test_cli.py`
ClaasRostock Feb 20, 2026
1a06610
updated uv.lock
ClaasRostock Feb 20, 2026
f3f787f
GitHub workflows: Added `--extra test` to the workflows running tests…
ClaasRostock Feb 20, 2026
35ba294
tests/test_cli.py: `run_in_subprocess()`: Changed encoding in subproc…
ClaasRostock Feb 20, 2026
9553551
updated CHANGELOG.md
ClaasRostock Feb 20, 2026
e001958
bumped version number to 0.3.0
ClaasRostock Feb 20, 2026
dd4418a
updated uv.lock
ClaasRostock Feb 20, 2026
7eb1431
tests/test_cli.py: Try another option to deal with encoding errors in…
ClaasRostock Feb 20, 2026
d0a37e1
tests/test_cli.py: Try another option to deal with encoding errors in…
ClaasRostock Feb 20, 2026
b3f47f7
tests/conftest.py: Changed the adiitional pytest commandline option `…
ClaasRostock Feb 22, 2026
e04cbff
updated CHANGELOG.md
ClaasRostock Feb 22, 2026
e9e4d0f
src/sim_explorer/system_interface.py: Minor docstring improvement
ClaasRostock Feb 22, 2026
687e5e6
src/sim_explorer/models.py: Renamed temporal operators `Temporal.FINA…
ClaasRostock Mar 3, 2026
913afec
bumped version number to 0.2.2
ClaasRostock Mar 3, 2026
2e9c893
Update imports and type annotations for DatumInContext and data handling
ClaasRostock Mar 3, 2026
ecdd7ac
resolved GitHub comment https://github.com/dnv-opensource/sim-explore…
ClaasRostock Mar 3, 2026
d0bec56
resolved GitHub comment https://github.com/dnv-opensource/sim-explore…
ClaasRostock Mar 3, 2026
df97384
resolved GitHub comment https://github.com/dnv-opensource/sim-explore…
ClaasRostock Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/_build_and_publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout active branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
lfs: true
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
cache-dependency-glob: 'uv.lock'
- name: Install the project
run: uv sync --upgrade
run: uv sync --frozen
- name: Print debugging information
run: |
echo "github.ref:" ${{github.ref}}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/_build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
with:
lfs: true
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Build source distribution and wheel
cache-dependency-glob: 'uv.lock'
- name: Build source distribution and wheels
run: uv build
- name: Run twine check
- name: Check build artifacts
run: uvx twine check --strict dist/*
- uses: actions/upload-artifact@v4
- name: Upload build artifacts
uses: actions/upload-artifact@v5
with:
name: dist
path: |
dist/*.tar.gz
dist/*.whl
52 changes: 20 additions & 32 deletions .github/workflows/_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,74 +7,62 @@ jobs:
runs-on: ubuntu-latest
name: ruff format
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
cache-dependency-glob: 'uv.lock'
- name: Install the project
run: uv sync --upgrade
run: uv sync -U
- name: Run ruff format
run: uv run ruff format --diff

ruff_check:
runs-on: ubuntu-latest
name: ruff check
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
cache-dependency-glob: 'uv.lock'
- name: Install the project
run: uv sync --upgrade
run: uv sync -U
- name: Run ruff check
run: uv run ruff check --diff

pyright:
runs-on: ubuntu-latest
name: pyright
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
cache-dependency-glob: 'uv.lock'
- name: Install the project
run: uv sync --upgrade
run: uv sync -U
- name: Run pyright
run: uv run pyright

mypy:
runs-on: ubuntu-latest
name: mypy
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
cache-dependency-glob: 'uv.lock'
- name: Install the project
run: uv sync --upgrade
run: uv sync -U
- name: Run mypy
run: uv run mypy
3 changes: 2 additions & 1 deletion .github/workflows/_merge_into_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
with:
# Fetch the whole history to prevent unrelated history errors
fetch-depth: 0
Expand Down
32 changes: 11 additions & 21 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,23 @@ on: workflow_call

jobs:
test:
name: Test on ${{matrix.python.version}}-${{matrix.platform.runner}}
runs-on: ${{ matrix.platform.runner }}
name: Test (Python ${{ matrix.python }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
fail-fast: false
matrix:
platform:
- runner: ubuntu-latest
- runner: windows-latest
# - runner: macos-latest
python:
- version: '3.10'
- version: '3.11'
- version: '3.12'
# - version: '3.13'
os: [ubuntu-latest, windows-latest]
python: ['3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: false
cache-dependency-glob: "uv.lock"
- name: Install Python ${{ matrix.python.version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}
enable-cache: true
cache-dependency-glob: 'uv.lock'
- name: Install the project
run: uv sync -p ${{ matrix.python.version }} -U --no-dev
run: uv sync -p ${{ matrix.python }} -U --no-dev --extra test
- name: Run pytest
run: >
uv run --with pytest --with pytest-cov
Expand Down
45 changes: 26 additions & 19 deletions .github/workflows/_test_future.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
name: Unit Tests (py313)
# Test also with Python 3.13 (experimental; workflow will not fail on error.)
name: Unit Tests (py315)
# Test also with Python 3.15 (experimental; workflow will not fail on error.)

on: workflow_call

jobs:
test313:
name: Test on ${{matrix.python.version}}-${{matrix.platform.runner}} (experimental)
test315:
name: Test (Python ${{ matrix.python.version }}, ${{ matrix.os }}) (experimental)
continue-on-error: true
runs-on: ${{ matrix.platform.runner }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
platform:
- runner: ubuntu-latest
- runner: windows-latest
os: [ubuntu-latest, windows-latest]
python:
- version: '3.13.0-alpha - 3.13.0'
uvpy: '3.13'
- version: '3.15.0-alpha - 3.15.0'
uvpy: '3.15'
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7
with:
enable-cache: false
cache-dependency-glob: "uv.lock"
- name: Install Python ${{ matrix.python.version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}
enable-cache: true
cache-dependency-glob: 'uv.lock'
- name: Remove Python upper version constraint from pyproject.toml
shell: pwsh
run: |
$File = Get-Item pyproject.toml
$Content = Get-Content $File -Raw
[regex]$RequiresPythonPattern = '(?<!-)(\brequires-python = "\s?[>=]{1,2}\s?\d+\.\d+\.?\d*\.?[\d\w]*\s?)(,\s?[<=]{1,2}\s?\d+\.?\d*\.?\d*\.?[\d\w]*\s?)?(")'
if ($Content -match $RequiresPythonPattern) {
$RequiresPythonFound = $Matches[0]
$RequiresPythonReplacement = $Matches[1] + $Matches[3]
$Content -Replace $RequiresPythonFound, $RequiresPythonReplacement | Set-Content $File -NoNewline
}
- name: Install the project
run: uv sync -p ${{ matrix.python.uvpy }} -U --no-dev
run: uv sync -p ${{ matrix.python.uvpy }} -U --no-dev --extra test
- name: Run pytest
run: >
uv run --with pytest --with pytest-cov
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ run-name: Nightly Build (by @${{ github.actor }})
on:
schedule:
- cron: '30 5 * * *'
workflow_dispatch: # Allow manual trigger

jobs:
code_quality:
uses: ./.github/workflows/_code_quality.yml
test:
uses: ./.github/workflows/_test.yml
test_future:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
- name: Download build artifacts
uses: actions/download-artifact@v5
with:
name: artifact
name: dist
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# with: # Uncomment this line to publish to testpypi
# repository-url: https://test.pypi.org/legacy/ # Uncomment this line to publish to testpypi
merge_into_release:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_request_to_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- converted_to_draft
branches:
- main
workflow_dispatch: # Allow manual trigger

concurrency:
group: pr-${{ github.ref }}-1
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ ipython_config.py
# It is generally recommended to include `uv.lock` in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, `uv` might install dependencies in one environment that don't work in another.
# In such case, `uv.lock` should be added to `.gitignore`
# In such case, `uv.lock` should be added to `.gitignore` (and, as such, excluded from version control).
# uv.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: mixed-line-ending
args: [--fix=auto]
Expand All @@ -9,10 +9,10 @@ repos:
- id: check-toml
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.2
rev: v0.15.1
hooks:
- id: ruff-format
- id: ruff
- id: ruff-check
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.14.1
# hooks:
Expand Down
2 changes: 1 addition & 1 deletion .sourcery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rule_settings:
- refactoring
- suggestion
- comment
python_version: '3.10' # A string specifying the lowest Python version your project supports. Sourcery will not suggest refactorings requiring a higher Python version.
python_version: '3.11' # A string specifying the lowest Python version your project supports. Sourcery will not suggest refactorings requiring a higher Python version.

# rules: # A list of custom rules Sourcery will include in its analysis.
# - id: no-print-statements
Expand Down
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"recommendations": [
"ms-python.python",
"ms-python.vscode-pylance",
"visualstudioexptteam.vscodeintellicode",
"njqdev.vscode-python-typehint",
"github.copilot-chat",
"ms-python.debugpy",
"ms-python.vscode-python-envs",
"charliermarsh.ruff",
"sourcery.sourcery",
"njpwerner.autodocstring",
Expand Down
Loading
Loading