[jmespath] Remove from pyrightconfig (#14378)

This commit is contained in:
Semyon Moroz
2025-07-10 11:26:23 +00:00
committed by GitHub
parent 9ac95d40d5
commit 1164c0f9e8
4 changed files with 8 additions and 6 deletions
-1
View File
@@ -50,7 +50,6 @@
"stubs/httplib2",
"stubs/hvac",
"stubs/icalendar",
"stubs/jmespath",
"stubs/jsonschema",
"stubs/jwcrypto",
"stubs/ldap3",
+1 -1
View File
@@ -52,4 +52,4 @@ def pipe(left: _ASTNode, right: _ASTNode) -> _ASTNode: ...
def projection(left: _ASTNode, right: _ASTNode) -> _ASTNode: ...
def subexpression(children: list[_ASTNode]) -> _ASTNode: ...
def slice(start: _ASTNode, end: _ASTNode, step: _ASTNode) -> _ASTNode: ...
def value_projection(left, right) -> _ASTNode: ...
def value_projection(left: _ASTNode, right: _ASTNode) -> _ASTNode: ...
+1 -1
View File
@@ -30,7 +30,7 @@ class ArityError(ParseError):
expected_arity: int
actual_arity: int
function_name: str
def __init__(self, expected, actual, name) -> None: ...
def __init__(self, expected: int, actual: int, name: str) -> None: ...
class VariadictArityError(ArityError): ...
+6 -3
View File
@@ -17,11 +17,14 @@ class _Expression:
expression: str
interpreter: Visitor
def __init__(self, expression: str, interpreter: Visitor) -> None: ...
def visit(self, node: _TreeNode, *args, **kwargs) -> Any: ...
# `args` and `kwargs` are passed to the appropriate `visit_*` method.
def visit(self, node: _TreeNode, *args: Any, **kwargs: Any) -> Any: ...
class Visitor:
def __init__(self) -> None: ...
def visit(self, node: _TreeNode, *args, **kwargs) -> Any: ...
# `args` and `kwargs` are passed to the appropriate `visit_*` method.
# Its return value is returned from visit.
def visit(self, node: _TreeNode, *args: Any, **kwargs: Any) -> Any: ...
def default_visit(self, node: _TreeNode, *args: Unused, **kwargs: Unused) -> NoReturn: ...
class _TreeNode(TypedDict):
@@ -59,4 +62,4 @@ class TreeInterpreter(Visitor):
class GraphvizVisitor(Visitor):
def __init__(self) -> None: ...
def visit(self, node: _TreeNode, *args, **kwargs) -> str: ...
def visit(self, node: _TreeNode, *args: Unused, **kwargs: Unused) -> str: ...