3 Commits
Author SHA1 Message Date
Hari RanaandEmoonX 8e12f6d0de chore: Run pyupgrade for the entire codebase
Co-authored-by: EmoonX <emoon@emoon.dev>
2025-01-16 19:45:23 -05:00
mirkobrombin 540f6fc0d4 misc: cleanup 2024-02-10 19:16:22 +01:00
Lake Chan de8338e1a5 Improve WineCommand.run() (#2748)
* improve type hint

* remove redundancy type check

* fix case usage

* Revert: changes to Result

* `WineCommand.run()` return Result[Optional[str]] now

* improve ambiguous name in Result

* revert to chardet & add tests for encoding detect

* drop low confidence encoding result

* improve stdout decode

* minor changes
2023-05-04 16:25:39 +02:00