Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced os.path with pathlib #182

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

trag1c
Copy link

@trag1c trag1c commented May 22, 2024

Hey, I just made a Pull Request!

Description

Changes all occurrences of os.path to use pathlib instead.

Motivation and Context

Closes #179

Have you tested this? If so, how?

Updated unit tests :)

Checklist for PR author(s)

  • Changes are covered by unit tests (no major decrease in code coverage %).
  • All tests pass.
  • Docstring coverage is 100% via tox -e docs or interrogate -c pyproject.toml (I mean, we should set a good example 😄).
  • Updates to documentation:
    • Document any relevant additions/changes in README.rst.
    • Manually update both the README.rst and docs/index.rst for any new/changed CLI flags.
    • Any changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives. Find the appropriate next version in the project's __init__.py file.

Release note

NONE

@trag1c trag1c marked this pull request as ready for review May 22, 2024 21:48
@trag1c
Copy link
Author

trag1c commented May 22, 2024

Not sure if this deserves a release note or any versionchanged directives.

I'll take a look at Windows' fails tomorrow 👍

@trag1c trag1c changed the title Replaced os.path with `pathlib Replaced os.path with pathlib May 22, 2024
@trag1c
Copy link
Author

trag1c commented May 25, 2024

I'll take a look at Windows' fails tomorrow 👍

Took a bit longer but I'm getting OSErrors, seems like Windows can't install cairosvg 🤔 I feel like I'm doing something wrong here.

@econchick Could you approve the workflow? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace os.path with pathlib
1 participant