Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion arraycontext/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
)
from warnings import warn

from typing_extensions import Self, override
from typing_extensions import Self, TypeIs, override

from pytools import memoize_method

Expand Down Expand Up @@ -483,6 +483,10 @@ def outline(self,
"""
return f

@classmethod
def is_array_type(cls, obj: object) -> TypeIs[Array]:
return isinstance(obj, cls.array_types)

# undocumented for now
@property
@abstractmethod
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ pythonPlatform = "All"

reportImplicitOverride = "hint"

exclude = [
"doc",
".conda-root",
"build",
".env",
]

[[tool.basedpyright.executionEnvironments]]
root = "test"
reportUnknownArgumentType = "hint"
Expand Down
23 changes: 0 additions & 23 deletions run-pylint.sh

This file was deleted.

Loading