python-configuration
python-configuration copied to clipboard
add compatibility with pathlib.Path type from stdlib.
I believe this fixes the issue I opened: #96
It adds type hinting pathlib.Path to each of data parameter, and adds a Path to the isinstance check before calling open() on the path.
Can you also add tests to ensure coverage? Here are the instructions on how to do that. Otherwise, I can take a look at it next weekend.
Can you also add tests to ensure coverage? Here are the instructions on how to do that. Otherwise, I can take a look at it next weekend.
I've installed hatch and was able to run the tests. Can you explain some of the errors I'm seeing? Do I have to run ruff or mypy on the source to sort import and fix line lengths?