Add tests for dataset cards
CONTRIBUTOR
@lhoestq

Should I remove the scripts? or atleast remove running them from the CircleCI config?

Also, I hope it is okay that the combined method (metadata+content) is only a slow test, and for the Circle CI, I assume only non-slow tests are run? If yes, this would mean separate tests for content and metadata.
2021-05-18T00:04:19Z
https://github.com/huggingface/datasets/pull/2348#issuecomment-842723268
https://api.github.com/repos/huggingface/datasets/issues/2348
MDEyOklzc3VlQ29tbWVudDg0MjcyMzI2OA==
https://api.github.com/repos/huggingface/datasets/issues/comments/842723268/reactions
2021-05-18T00:08:56Z
https://api.github.com/repos/huggingface/datasets/issues/comments/842723268
https://avatars.githubusercontent.com/u/29076344?v=4
https://api.github.com/users/gchhablani/events{/privacy}
https://api.github.com/users/gchhablani/followers
https://api.github.com/users/gchhablani/following{/other_user}
https://api.github.com/users/gchhablani/gists{/gist_id}
https://github.com/gchhablani
gchhablani
MDQ6VXNlcjI5MDc2MzQ0
https://api.github.com/users/gchhablani/orgs
https://api.github.com/users/gchhablani/received_events
https://api.github.com/users/gchhablani/repos
https://api.github.com/users/gchhablani/starred{/owner}{/repo}
https://api.github.com/users/gchhablani/subscriptions
User
https://api.github.com/users/gchhablani
public
MEMBER
Also feel free to remove the scripts from the CI and also remove the scripts files :)
2021-05-18T08:43:59Z
https://github.com/huggingface/datasets/pull/2348#issuecomment-842979076
https://api.github.com/repos/huggingface/datasets/issues/2348
MDEyOklzc3VlQ29tbWVudDg0Mjk3OTA3Ng==
https://api.github.com/repos/huggingface/datasets/issues/comments/842979076/reactions
2021-05-18T08:43:59Z
https://api.github.com/repos/huggingface/datasets/issues/comments/842979076
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
Adding tests for dataset cards

This PR will potentially remove the scripts being used for dataset tags and readme validation.

Additionally, this will allow testing dataset readmes by providing the name as follows:

```bash
pytest tests/test_dataset_cards.py::test_dataset_tags[fashion_mnist]
```
and

```bash
pytest tests/test_dataset_cards.py::test_readme_content[fashion_mnist]
```
or a combined test as:

```bash
pytest tests/test_dataset_cards.py::test_dataset_card[fashion_mnist]
```
@lhoestq 