transformers
d9e7791b - Use inspect.getsource instead of open() for source-reading in _can_set_*_implementation (#46207)

Commit
61 days ago
Use inspect.getsource instead of open() for source-reading in _can_set_*_implementation (#46207) * Use inspect.getsource for _can_set_*_implementation checks * refine regex * linelength * oupsi --------- Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
Author
Parents
Loading