Skip to content

Conversation

@kivipe
Copy link
Contributor

@kivipe kivipe commented Oct 22, 2025

Another try for #144. As requested, I converted all path operations I found into pathlib methods

@asyrjasalo asyrjasalo self-assigned this Oct 22, 2025
@asyrjasalo asyrjasalo self-requested a review October 22, 2025 12:11
Copy link
Owner

@asyrjasalo asyrjasalo left a comment

Choose a reason for hiding this comment

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

There is still a few path.join left. Re-check keywords.py.

@asyrjasalo asyrjasalo assigned kivipe and unassigned asyrjasalo Oct 22, 2025
@asyrjasalo
Copy link
Owner

Also, you can likely replace path.isfile with pathlib as well. Consistency.

In the end you should be able to remove from os import path altogether from the imports. Happy to merge this then.

@kivipe
Copy link
Contributor Author

kivipe commented Oct 23, 2025

Thank you for your feedback. After checking and refactoring I was able to remove path and getcwd imports.

@asyrjasalo asyrjasalo self-requested a review October 23, 2025 12:53
Copy link
Owner

@asyrjasalo asyrjasalo left a comment

Choose a reason for hiding this comment

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

Great!

@asyrjasalo asyrjasalo merged commit 6c86856 into asyrjasalo:master Oct 23, 2025
15 checks passed
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.

2 participants