openclimatefix / ocf-data-sampler

A test repo to experiment refactoring ocf_datapipes
MIT License
1 stars 1 forks source link

Migration to pyproject.toml #48

Open VikramsDataScience opened 1 week ago

VikramsDataScience commented 1 week ago

Pull Request

Description (Attempt to migrate to pyproject to address issue #11)

to be modified to also include the following?: if [ -f pyproject.toml ]; then pip install -e .[docs]; fi I'm not sure about this part, though, as I'm still becoming familiar with your codebase! So please advise!

How Has This Been Tested?

My changes shouldn't affect data processing but ticking the below box.

Checklist:

peterdudfield commented 1 week ago

Thanks @VikramsDataScience for doing this.

Do you mind adjusting https://github.com/openclimatefix/ocf-data-sampler/blob/main/.bumpversion.cfg this too?

Would you mind making a PR to the python-test.yml as your suggsted.

Thanks again

VikramsDataScience commented 1 week ago

Will do, @peterdudfield! I'll get it done as soon as I get some time!

VikramsDataScience commented 1 week ago

Hey @peterdudfield! I've made the changes to the bumpversion.cfg, tested the file and attached a screenshot of the test, and pushed the new commit: image

I've also created a new PR for the change to the python-test.yml file under gh pr checkout 54. Please let me know if any other changes/bugs need to addressed :).

VikramsDataScience commented 1 week ago

Thank you, @peterdudfield! Please let me know if there are any issues, and I'll do my best to repair them 🙂!

In the meantime I'll poke through some of the other issues raised and attempt to further contribute!

peterdudfield commented 4 hours ago

sorry @VikramsDataScience do you mind resolving the conflicts?