of.yaml
of.yaml copied to clipboard
Use mypy to check static types
- [ ] 🛑 foam/base/lib.py:
Library stubs not installed for "yaml" (or incompatible with Python 3.8)
- [ ] 🛑 foam/base/core.py:
Value of type "Optional[Data]" is not indexable
- [ ] 🛑 foam/base/core.py:
Value of type "Optional[Data]" is not indexable
- [ ] 🛑 foam/base/core.py:
No overload variant of "get" of "dict" matches argument types "str", "List[<nothing>]"
- [ ] 🛑 foam/base/core.py:
Value of type "Optional[Data]" is not indexable
- [ ] 🛑 foam/base/core.py:
Value of type "Optional[Data]" is not indexable
- [ ] 🛑 foam/base/core.py:
Argument 3 to "copytree" has incompatible type "**Dict[str, bool]"; expected "Union[None, Callable[[str, List[str]], Iterable[str]], Callable[[Union[str, PathLike[str]], List[str]], Iterable[str]]]"
- [ ] 🛑 foam/base/core.py:
Argument 3 to "copytree" has incompatible type "**Dict[str, bool]"; expected "Callable[[str, str], None]"
- [ ] 🛑 foam/base/core.py:
Argument 1 to "_extract_files" of "Foam" has incompatible type "Union[Dict[str, Any], List[Dict[str, Any]]]"; expected "Dict[str, Any]"
- [ ] 🛑 foam/base/core.py:
Item "None" of "Optional[Any]" has no attribute "setdefault"
- [ ] 🛑 foam/base/core.py:
Unsupported left operand type for / ("None")
- [ ] 🛑 foam/app/postprocess/core.py:
Unsupported left operand type for / ("None")
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[0] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Argument 1 to "probes" of "PostProcess" has incompatible type "Tuple[float, ...]"; expected "Tuple[float, float, float]"
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid index type "Tuple[float, ...]" for "Dict[Tuple[float, float, float], Dict[str, Dict[float, Array]]]"; expected type "Tuple[float, float, float]"
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[0] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Need type annotation for "ans" (hint: "ans: Dict[<type>, <type>] = ...")
- [ ] 🛑 foam/app/postprocess/core.py:
No overload variant of "set" matches argument type "Array"
- [ ] 🛑 foam/app/postprocess/core.py:
Value of type "Array" is not indexable
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 1 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 1 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 1 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Value of type "Array" is not indexable
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 1 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Value of type "Array" is not indexable
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 1 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Value of type "Array" is not indexable
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" has no attribute "ndim"
- [ ] 🛑 foam/app/postprocess/core.py:
Value of type "Array" is not indexable
- [ ] 🛑 foam/app/postprocess/core.py:
Unsupported left operand type for * ("Array")
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" has no attribute "ndim"
- [ ] 🛑 foam/app/postprocess/core.py:
Item "Array" of "Optional[Array]" has no attribute "T"
- [ ] 🛑 foam/app/postprocess/core.py:
Item "None" of "Optional[Array]" has no attribute "T"
- [ ] 🛑 foam/app/postprocess/core.py:
No overload variant of "sum" matches argument type "Array"
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Item "None" of "Optional[Foam]" has no attribute "fields"
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[0] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Argument 1 to "probes" of "VTK" has incompatible type "Tuple[float, ...]"; expected "Tuple[float, float, float]"
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid index type "Tuple[float, ...]" for "Dict[Tuple[float, float, float], Dict[str, Array]]"; expected type "Tuple[float, float, float]"
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[0] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Unsupported left operand type for - ("Array")
- [ ] 🛑 foam/app/postprocess/core.py:
Value of type "Array" is not indexable
- [ ] 🛑 foam/app/postprocess/core.py:
Incompatible return value type (got "Dict[Tuple[float, ...], Dict[str, Any]]", expected "Dict[Tuple[float, float, float], Dict[str, Array]]")
- [ ] 🛑 foam/app/postprocess/core.py:
"Array" expects no type arguments, but 2 given
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[1] instead?
- [ ] 🛑 foam/app/postprocess/core.py:
Invalid type: try using Literal[2] instead?
- [ ] 🛑 foam/app/information/core.py:
Invalid index type "Type[Any]" for "Dict[ABCMeta, Callable[[Any], Any]]"; expected type "ABCMeta"
- [ ] 🛑 foam/app/command/adapter.py:
Value of type "Optional[Data]" is not indexable
- [ ] 🛑 foam/app/command/adapter.py:
Value of type "Optional[Data]" is not indexable
- [ ] 🛑 foam/app/command/adapter.py:
Argument 1 to "findall" of "Pattern" has incompatible type "Optional[str]"; expected "str"
- [ ] 🛑 foam/app/command/core.py:
Item "None" of "Optional[Path]" has no attribute "iterdir"
- [ ] 🛑 foam/app/command/core.py:
Item "None" of "Optional[Path]" has no attribute "iterdir"
- [ ] 🛑 foam/app/command/core.py:
Unsupported left operand type for / ("None")
- [ ] 🛑 foam/app/command/core.py:
Argument 1 to "rmtree" has incompatible type "Optional[Path]"; expected "Union[str, bytes, PathLike[str], PathLike[bytes]]"
- [ ] 🛑 foam/app/command/core.py:
Argument 1 to "save" of "Foam" has incompatible type "Optional[Path]"; expected "Union[str, Path]"
- [ ] 🛑 foam/app/command/core.py:
Unsupported left operand type for / ("None")
- [ ] 🛑 foam/app/command/core.py:
Item "None" of "Optional[IO[bytes]]" has no attribute "__iter__" (not iterable)
- [ ] 🛑 foam/init.py:
Incompatible types in assignment (expression has type "Optional[str]", variable has type "str")
- [ ] ⚠️ foam/base/lib.py:
Hint: "python3 -m pip install types-PyYAML"
- [ ] ⚠️ foam/base/lib.py:
(or run "mypy --install-types" to install all missing stub packages)
- [ ] ⚠️ foam/base/core.py:
Possible overload variants:
- [ ] ⚠️ foam/base/core.py:
def get(self, <nothing>) -> None
- [ ] ⚠️ foam/base/core.py:
def [_T] get(self, <nothing>, _T) -> _T
- [ ] ⚠️ foam/base/core.py:
Left operand is of type "Optional[Path]"
- [ ] ⚠️ foam/app/postprocess/core.py:
See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- [ ] ⚠️ foam/app/postprocess/core.py:
Left operand is of type "Optional[Path]"
- [ ] ⚠️ foam/app/postprocess/core.py:
Possible overload variants:
- [ ] ⚠️ foam/app/postprocess/core.py:
def [_T] set(self) -> Set[_T]
- [ ] ⚠️ foam/app/postprocess/core.py:
def [_T] set(self, Iterable[_T]) -> Set[_T]
- [ ] ⚠️ foam/app/postprocess/core.py:
Possible overload variants:
- [ ] ⚠️ foam/app/postprocess/core.py:
def sum(Iterable[bool], start: int = ...) -> int
- [ ] ⚠️ foam/app/postprocess/core.py:
def [_SupportsSumNoDefaultT <: _SupportsSumWithNoDefaultGiven] sum(Iterable[_SupportsSumNoDefaultT]) -> Union[_SupportsSumNoDefaultT, Literal[0]]
- [ ] ⚠️ foam/app/postprocess/core.py:
def [_AddableT1 <: SupportsAdd[Any, Any], _AddableT2 <: SupportsAdd[Any, Any]] sum(Iterable[_AddableT1], start: _AddableT2) -> Union[_AddableT1, _AddableT2]
- [ ] ⚠️ foam/app/command/core.py:
Left operand is of type "Optional[Path]"
- [ ] ⚠️ foam/app/command/core.py:
Left operand is of type "Optional[Path]"