Skip to content

refactor: upgrade examples/ to use Pathlib#221

Merged
elliot-100 merged 1 commit intoOlen:mainfrom
elliot-100:refactor/examples-modernise-path-handling-2
Apr 5, 2026
Merged

refactor: upgrade examples/ to use Pathlib#221
elliot-100 merged 1 commit intoOlen:mainfrom
elliot-100:refactor/examples-modernise-path-handling-2

Conversation

@elliot-100
Copy link
Copy Markdown
Collaborator

@elliot-100 elliot-100 commented Apr 2, 2026

This PR upgrades examples to use the Pathlib library and f-strings, and makes path handling code more consistent.

It also brings type hints for these files up to the same level as the main package.

NB: In order to keep each script self-contained, it does not refactor the repeated path-handling code to a shared module.

@elliot-100 elliot-100 added the enhancement New feature or request label Apr 2, 2026
@elliot-100 elliot-100 requested a review from Olen April 2, 2026 11:30
@elliot-100 elliot-100 force-pushed the refactor/examples-modernise-path-handling-2 branch from 7040c34 to 4b710b4 Compare April 2, 2026 11:38
Copy link
Copy Markdown
Owner

@Olen Olen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elliot-100 elliot-100 merged commit afff5fc into Olen:main Apr 5, 2026
5 checks passed
@elliot-100 elliot-100 deleted the refactor/examples-modernise-path-handling-2 branch April 5, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants