LoginSignup
0
0

Ruff使用時に一部のルールを無効にするtomlの設定

Posted at

pyproject.tomlに以下のフォーマットでルールコードを追加する

pyproject.toml
[tool.ruff]
ignore = ["E712"]

以上。

ちなみにE712はx == Trueと書いた時にx is Trueとするルール。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0