Make CI check no deprecated typing type is used
As suggested by @severo (https://github.com/huggingface/datasets-server/pull/1805#pullrequestreview-1627340639), we should make our CI automatically check that no deprecated type from `typing` is used.

Related to:
- #1805
Make CI check no deprecated typing type is used: As suggested by @severo (https://github.com/huggingface/datasets-server/pull/1805#pullrequestreview-1627340639), we should make our CI automatically check that no deprecated type from `typing` is used.

Related to:
- #1805