12a50f294d
Enable FURB rules in ruff ( #41395 )
...
* Apply ruff FURB rules
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* Enable ruff FURB rules
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* More fixes
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* More fixes
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* Revert changes
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* More fixes
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
---------
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
2025-10-17 15:00:40 +00:00
080d704af1
Fix Pylint warnings ( #41644 )
...
* Fix pylint warnings
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* More fixes
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
* Raise with an exception
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
---------
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com >
2025-10-17 13:09:42 +00:00
da4ff2a5f5
Add Optional to remaining types ( #37808 )
...
More Optional typing
Signed-off-by: cyy <cyyever@outlook.com >
2025-04-28 14:20:45 +01:00
0fb8d49e88
Use Python 3.9 syntax in examples ( #37279 )
...
Signed-off-by: cyy <cyyever@outlook.com >
2025-04-07 12:52:21 +01:00
f497f564bb
Update all references to canonical models ( #29001 )
...
* Script & Manual edition
* Update
2024-02-16 08:16:58 +01:00
721ee783ca
[Docs] Fix spelling and grammar mistakes ( #28825 )
...
* Fix typos and grammar mistakes in docs and examples
* Fix typos in docstrings and comments
* Fix spelling of `tokenizer` in model tests
* Remove erroneous spaces in decorators
* Remove extra spaces in Markdown link texts
2024-02-02 08:45:00 +01:00
5e8c8eb5ba
Apply ruff flake8-comprehensions ( #21694 )
2023-02-22 09:14:54 +01:00
f25444cb22
Close open files to suppress ResourceWarning ( #11240 )
...
Co-authored-by: Sudharsan Thirumalai <sudharsan.t@sprinklr.com >
2021-04-14 10:31:04 -04:00
1c8c2d9ab3
[WIP][examples/seq2seq] move old s2s scripts to legacy ( #10136 )
...
* move old s2s scripts to legacy
* add the tests back
* proper rename
* restore
* Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com >
Co-authored-by: Stas Bekman <stas@stason.org >
Co-authored-by: Stas Bekman <stas00@users.noreply.github.com >
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com >
2021-02-15 10:48:02 -08:00