IMvision12
|
2df602870b
|
Added tests for yaml and json parser (#19219)
* Added tests for yaml and json
* Added tests for yaml and json
|
2022-09-27 16:25:57 -04:00 |
|
Felix Schneider
|
86387fe87f
|
Add an option to HfArgumentParser.parse_{dict,json_file} to raise an Exception when there extra keys (#18692)
* Update parser to track unneeded keys, off by default
* Fix formatting
* Fix docstrings and defaults in HfArgparser
* Fix formatting
|
2022-08-31 20:26:45 +02:00 |
|
罗崚骁(LUO Lingxiao)
|
81643edda5
|
Support PEP 563 for HfArgumentParser (#15795)
* Support PEP 563 for HfArgumentParser
* Fix issues for Python 3.6
* Add test for string literal annotation for HfArgumentParser
* Remove wrong comment
* Fix typo
* Improve code readability
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Use `isinstance` to compare types to pass quality check
* Fix style
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
|
2022-03-17 13:51:37 -04:00 |
|
Lysandre Debut
|
29c10a41d0
|
[Test refactor 1/5] Per-folder tests reorganization (#15725)
* Per-folder tests reorganization
Co-authored-by: sgugger <sylvain.gugger@gmail.com>
Co-authored-by: Stas Bekman <stas@stason.org>
|
2022-02-23 15:46:28 -05:00 |
|