Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f96520c
add notebook description
M-Lampert Nov 7, 2025
5ba51ae
minor fixes
M-Lampert Nov 7, 2025
8f046ff
update basic tutorials
M-Lampert Nov 7, 2025
6bf2d4f
update notebooks
M-Lampert Nov 7, 2025
2e656de
minor fixes
M-Lampert Nov 7, 2025
e68ed17
update notebooks
M-Lampert Nov 7, 2025
03e1dcd
remove unnecessary datasets
M-Lampert Nov 7, 2025
f5febc9
final tutorial notebook
M-Lampert Nov 7, 2025
7eb5e22
remove progressbars and add pytest nbmake tags
M-Lampert Nov 10, 2025
f8a9a78
minor fixes visualisation
M-Lampert Nov 10, 2025
8175532
add tutorial testing
M-Lampert Nov 10, 2025
e308e32
fix no GPU problem
M-Lampert Nov 10, 2025
7a1a87d
update reference for utils
M-Lampert Nov 10, 2025
0a28571
auto docstring API improvements
M-Lampert Nov 11, 2025
d0c17b6
update degree statistics
M-Lampert Nov 11, 2025
7c0f833
improve docs clustering
M-Lampert Nov 11, 2025
a2244df
fix
M-Lampert Nov 11, 2025
58ed943
minor fixes
M-Lampert Nov 11, 2025
d64e2c1
docstrings for node similarities
M-Lampert Nov 11, 2025
de097cd
update DBGNN docstrings
M-Lampert Nov 11, 2025
29b4baa
fixes docstrings netzschleuder
M-Lampert Nov 11, 2025
1c4350a
fix pandas warnings
M-Lampert Nov 11, 2025
24fa2ae
fixes core
M-Lampert Nov 11, 2025
7ed1026
improve core docstrings
M-Lampert Nov 12, 2025
26a41a1
fix type annotation dbgnn
M-Lampert Nov 12, 2025
c7587a0
add external packages to autoref for docstrings
M-Lampert Nov 12, 2025
5f66654
add external references
M-Lampert Nov 12, 2025
98bf6c2
fix multi-order model docstrings
M-Lampert Nov 12, 2025
e5a2060
improve algorithm docs
M-Lampert Nov 12, 2025
ce7d700
add karate plot
M-Lampert Nov 12, 2025
f7e1b9e
fix numpy problems with indexmap
M-Lampert Nov 12, 2025
16f1957
add docstring testing
M-Lampert Nov 12, 2025
a25dd8a
fix linting and static type checking
M-Lampert Nov 12, 2025
a70958e
fix circular import
M-Lampert Nov 12, 2025
5294d2f
speed up notebook tests
M-Lampert Nov 12, 2025
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
36 changes: 36 additions & 0 deletions .github/workflows/docstring_testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Docstring Testing

on:
push:
branches:
- main
pull_request:

jobs:

pytest:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v5

# Only run workflow if certain files have been changed.
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
with:
files: |
.github/workflows/notebook_testing.yml
src/**
tests/**
pyproject.toml

- name: Setup packages
if: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/actions/setup

- name: Run tests
if: steps.changed-files.outputs.any_changed == 'true'
run: | # ignore centrality.py because __getattr__ gets overwritten which causes issues with pytest
pytest --doctest-modules src/pathpyG/ --ignore="src/pathpyG/algorithms/centrality.py" --no-cov
2 changes: 0 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
run: pip install ruff

- name: Run linting
continue-on-error: true
run: ruff check .

mypy:
Expand All @@ -42,6 +41,5 @@ jobs:
full_install: false

- name: Check type hints
continue-on-error: true
run: |
mypy src/pathpyG
36 changes: 36 additions & 0 deletions .github/workflows/notebook_testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Tutorial Notebook Testing

on:
push:
branches:
- main
pull_request:

jobs:

pytest:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v5

# Only run workflow if certain files have been changed.
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
with:
files: |
.github/workflows/notebook_testing.yml
src/**
tests/**
pyproject.toml

- name: Setup packages
if: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/actions/setup

- name: Run tests
if: steps.changed-files.outputs.any_changed == 'true'
run: |
pytest --nbmake docs/tutorial/*ipynb --no-cov
Loading