Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs for E711, E712 (astral-sh#4560)
The fixes for rules E711 `NoneComparison` and E712 `TrueFalseComparison` are marked unsafe due to possible runtime behavior changes with libraries that override `__eq__` and `__ne__` methods. - Add a "Fix safety" section to each rule explaining why the fixes are unsafe, plus a link to a GH issue with more detail. The sections are identical for each rule. - Minor formatting tweak for E711's docs.
- Loading branch information