diff --git a/src/awkward/_kernels.py b/src/awkward/_kernels.py index e5b3b979f3..29fd4ac024 100644 --- a/src/awkward/_kernels.py +++ b/src/awkward/_kernels.py @@ -21,7 +21,7 @@ class KernelError(Protocol): - filename: bytes | None # pylint: disable=E0602 + filename: bytes | None str: bytes | None attempt: int id: int diff --git a/src/awkward/types/type.py b/src/awkward/types/type.py index f4fd855e1e..d367adfc9d 100644 --- a/src/awkward/types/type.py +++ b/src/awkward/types/type.py @@ -22,7 +22,7 @@ def copy(self, *, parameters: JSONMapping | None | Sentinel = UNSET) -> Self: @property def parameters(self) -> JSONMapping: - if self._parameters is None: # pylint: disable=E0203 + if self._parameters is None: self._parameters = {} return self._parameters