Pretty print dataset info files
MEMBER
maybe just do it from now on no? (i.e. not for existing `dataset_infos.json` files)
2022-04-06T17:43:14Z
https://github.com/huggingface/datasets/pull/4116#issuecomment-1090549473
https://api.github.com/repos/huggingface/datasets/issues/4116
IC_kwDODunzps5BAHbh
https://api.github.com/repos/huggingface/datasets/issues/comments/1090549473/reactions
2022-04-06T17:43:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1090549473
https://avatars.githubusercontent.com/u/326577?v=4
https://api.github.com/users/julien-c/events{/privacy}
https://api.github.com/users/julien-c/followers
https://api.github.com/users/julien-c/following{/other_user}
https://api.github.com/users/julien-c/gists{/gist_id}
https://github.com/julien-c
julien-c
MDQ6VXNlcjMyNjU3Nw==
https://api.github.com/users/julien-c/orgs
https://api.github.com/users/julien-c/received_events
https://api.github.com/users/julien-c/repos
https://api.github.com/users/julien-c/starred{/owner}{/repo}
https://api.github.com/users/julien-c/subscriptions
User
https://api.github.com/users/julien-c
public
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-04-06T17:51:05Z
https://github.com/huggingface/datasets/pull/4116#issuecomment-1090559214
https://api.github.com/repos/huggingface/datasets/issues/4116
IC_kwDODunzps5BAJzu
https://api.github.com/repos/huggingface/datasets/issues/comments/1090559214/reactions
2022-04-08T11:28:01Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1090559214
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
COLLABORATOR
> maybe just do it from now on no? (i.e. not for existing dataset_infos.json files)

Yes, or do this only for datasets created with `push_to_hub` to (always) keep the GH datasets small? 

2022-04-06T17:58:23Z
https://github.com/huggingface/datasets/pull/4116#issuecomment-1090567701
https://api.github.com/repos/huggingface/datasets/issues/4116
IC_kwDODunzps5BAL4V
https://api.github.com/repos/huggingface/datasets/issues/comments/1090567701/reactions
2022-04-06T17:58:23Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1090567701
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
MEMBER
yep sounds good too on my side! 
2022-04-06T18:07:24Z
https://github.com/huggingface/datasets/pull/4116#issuecomment-1090575408
https://api.github.com/repos/huggingface/datasets/issues/4116
IC_kwDODunzps5BANww
https://api.github.com/repos/huggingface/datasets/issues/comments/1090575408/reactions
2022-04-06T18:07:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1090575408
https://avatars.githubusercontent.com/u/326577?v=4
https://api.github.com/users/julien-c/events{/privacy}
https://api.github.com/users/julien-c/followers
https://api.github.com/users/julien-c/following{/other_user}
https://api.github.com/users/julien-c/gists{/gist_id}
https://github.com/julien-c
julien-c
MDQ6VXNlcjMyNjU3Nw==
https://api.github.com/users/julien-c/orgs
https://api.github.com/users/julien-c/received_events
https://api.github.com/users/julien-c/repos
https://api.github.com/users/julien-c/starred{/owner}{/repo}
https://api.github.com/users/julien-c/subscriptions
User
https://api.github.com/users/julien-c
public
COLLABORATOR
I reverted the change to avoid the size increase and added the `pretty_print` flag, which pretty-prints the JSON, and that flag is only True for datasets created with `push_to_hub`.  
2022-04-07T14:17:51Z
https://github.com/huggingface/datasets/pull/4116#issuecomment-1091800573
https://api.github.com/repos/huggingface/datasets/issues/4116
IC_kwDODunzps5BE439
https://api.github.com/repos/huggingface/datasets/issues/comments/1091800573/reactions
2022-04-07T14:17:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1091800573
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
Adds indentation to the `dataset_infos.json` file when saving for nicer diffs.

(suggested by @julien-c)

This PR also updates the info files of the GH datasets. Note that this change adds more than **10 MB** to the repo size (the total file size before the change: 29.672298 MB, after: 41.666475 MB), so I'm not sure this change is a good idea.

`src/datasets/info.py` is the only relevant file for reviewers.
