ruff
827a076a - [pylint] Fix PL1730: min/max auto-fix and suggestion (#15930)

Commit
1 year ago
[pylint] Fix PL1730: min/max auto-fix and suggestion (#15930) ## Summary The PR addresses the issue #15887 For two objects `a` and `b`, we ensure that the auto-fix and the suggestion is of the form `a = min(a, b)` (or `a = max(a, b)`). This is because we want to be consistent with the python implementation of the methods: `min` and `max`. See the above issue for more details. --------- Co-authored-by: Micha Reiser <micha@reiser.io>
Author
Parents
Loading