[tool.ruff] ignore = ["E712"]
以上。
ちなみにE712はx == Trueと書いた時にx is Trueとするルール。
x == True
x is True
Register as a new user and use Qiita more conveniently