[pylint] Implement nan-comparison (PLW0117) (#10401)

## Summary

Implement pylint's nan-comparison, part of #970.

## Test Plan

Text fixture was added.
This commit is contained in:
Auguste Lalande
2024-03-20 20:36:17 -04:00
committed by GitHub
parent 4045df4ad4
commit 685de912ff
8 changed files with 302 additions and 0 deletions

2
ruff.schema.json generated
View File

@@ -3330,6 +3330,8 @@
"PLW01",
"PLW010",
"PLW0108",
"PLW011",
"PLW0117",
"PLW012",
"PLW0120",
"PLW0127",