From 4276024d5bbb6c6a294aeaf9eba9189620beed05 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 22 Aug 2024 13:48:51 -0500 Subject: [PATCH] ignore E721 --- python/cucim/pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/cucim/pyproject.toml b/python/cucim/pyproject.toml index afd1e05d..09ba8d15 100644 --- a/python/cucim/pyproject.toml +++ b/python/cucim/pyproject.toml @@ -168,6 +168,8 @@ fix = true # see: https://docs.astral.sh/ruff/rules/ select = ["E", "F", "W", "I", "UP"] ignore = [ + # (pycodestyle) Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks + "E721", # (pyupgrade) Use `X | Y` in `isinstance` call instead of `(X, Y)` "UP038", ]