diff --git a/pyproject.toml b/pyproject.toml index 2eaca2d3ea88..54e0f5e04694 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,6 +143,8 @@ select = [ "UP", # pyupgrade "C4", # flake8-comprehensions "SIM201", "SIM202", "SIM222", "SIM223", # flake8-simplify + "FURB168", # Prefer is operator over isinstance for None checks + "FURB169", # Do not use is comparison with type(None). Use None "FURB188", # use str.remove(pre|suf)fix "ISC001", # implicitly concatenated string "RET501", "RET502", # better return None handling