Repository navigation
[ci] prevent Python tests from leaving behind files - #6626
Conversation
jameslamb
left a comment
There was a problem hiding this comment.
Thanks for working on this!
I haven't tested yet if you've caught all the cases where this happens, but these fixes look like what I'd expect. Please see the suggestions I left, and the changes I made to the title and description.
PR titles become commit messages and therefore changelog entries in this repo, so they should describe the changes in a way that would be clear to someone reading the release notes. To see the conventions we follow here, compare these:
- commit log on
master: https://github.com/microsoft/LightGBM/commits/master/ - most recent release notes: https://github.com/microsoft/LightGBM/releases/tag/v4.5.0
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
|
Noted and adressed your comments @jameslamb thanks for the prompt review |
|
Please update this branch to the latest You can fix those by running the following from the root of the repo: pip install pre-commit
pre-commit run --all-files |
|
Have now merged #6627 as the total code diff is small and they share the same purpose. I let the moderators close the other PR. |
|
Thanks for the approvals. I am very pleased with this first minor contribution to a package I have been using with enjoyment and satisfaction! Let's see if I can add more to it in the future. |
|
This pull request has been automatically locked since there has not been any recent activity since it was closed. |
Contributes to #6361
Prevents the following files from being left behind when the Python tests are run:
data_dask.csvTree4.gvTree4.gv.pdfThe graphivz artefacts from
tests/python_package_test/test_plotting.pynow go to the pytesttmp_pathand are deleted after test run.