-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move default location of data to the user home folder (#652)
* Change default location of data_home * Removed the `clear_data_home` function * Add changes to CHANGES.rst * Apply suggestions from code review Co-authored-by: Jérémie du Boisberranger <[email protected]> * update _utils.py and test_utils.py to use pathlib instead os.path * Propagate changes * Update skrub/datasets/tests/test_utils.py Co-authored-by: Guillaume Lemaitre <[email protected]> * Update skrub/datasets/_utils.py Co-authored-by: Guillaume Lemaitre <[email protected]> * Update skrub/datasets/_utils.py Co-authored-by: Guillaume Lemaitre <[email protected]> * Update skrub/datasets/tests/test_utils.py Co-authored-by: Guillaume Lemaitre <[email protected]> * Update skrub/datasets/_utils.py Co-authored-by: Lilian <[email protected]> * Update skrub/datasets/_utils.py Co-authored-by: Lilian <[email protected]> * Update skrub/datasets/_utils.py Co-authored-by: Lilian <[email protected]> * Update skrub/datasets/_utils.py Co-authored-by: Lilian <[email protected]> * Update skrub/datasets/tests/test_utils.py Co-authored-by: Guillaume Lemaitre <[email protected]> * Update skrub/datasets/tests/test_utils.py Co-authored-by: Guillaume Lemaitre <[email protected]> * allow data_home to be a string * Improved test for `get_data_home` * Apply suggestions from code review Co-authored-by: Guillaume Lemaitre <[email protected]> * Simplified test for `get_data_home` * change `data_home` for `data_directory` when needed * Fixes bug with user directory * Correct type hint * Update skrub/datasets/_utils.py Co-authored-by: Lilian <[email protected]> * Apply suggestions from code review * Make test work on my machine * Refactor tests * Tests working on all platforms * Tests more robust --------- Co-authored-by: Jérémie du Boisberranger <[email protected]> Co-authored-by: Guillaume Lemaitre <[email protected]> Co-authored-by: Lilian <[email protected]> Co-authored-by: Gael Varoquaux <[email protected]>
- Loading branch information
1 parent
c47d7ea
commit dd35027
Showing
7 changed files
with
170 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.