Test Pyright for CI #14
test-quick.yaml
on: push
Docs
29s
Pyright
22s
Matrix: test
Annotations
10 errors
|
Pyright:
pathspec/_backends/hyperscan/pathspec.py#L222
Variable not allowed in type expression (reportInvalidTypeForm)
|
|
Pyright:
pathspec/_backends/hyperscan/pathspec.py#L213
"scan" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
Pyright:
pathspec/_backends/hyperscan/pathspec.py#L153
"pattern" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
Pyright:
pathspec/_backends/hyperscan/pathspec.py#L118
Variable not allowed in type expression (reportInvalidTypeForm)
|
|
Pyright:
pathspec/_backends/hyperscan/pathspec.py#L84
Variable not allowed in type expression (reportInvalidTypeForm)
|
|
Pyright:
pathspec/_backends/hyperscan/pathspec.py#L60
Invalid exception class or object
"None" does not derive from BaseException (reportGeneralTypeIssues)
|
|
Pyright:
pathspec/_backends/hyperscan/gitignore.py#L245
"_out" overrides symbol of same name in class "HyperscanPsBackend"
Variable is mutable so its type is invariant
Override type "tuple[bool | None, int, int]" is not the same as base type "tuple[bool | None, int]" (reportIncompatibleVariableOverride)
|
|
Pyright:
pathspec/_backends/hyperscan/gitignore.py#L202
"scan" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
Pyright:
pathspec/_backends/hyperscan/gitignore.py#L114
"pattern" is not a known attribute of "None" (reportOptionalMemberAccess)
|
|
Pyright:
pathspec/_backends/hyperscan/gitignore.py#L79
Variable not allowed in type expression (reportInvalidTypeForm)
|