mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
[stubsabot] Bump flake8-builtins to 2.4.* (#11697)
Co-authored-by: stubsabot <> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
committed by
GitHub
parent
6d19a17f57
commit
0685754ab3
@@ -1,4 +1,4 @@
|
||||
version = "2.3.*"
|
||||
version = "2.4.*"
|
||||
upstream_repository = "https://github.com/gforcada/flake8-builtins"
|
||||
partial_stub = true
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ class BuiltinsChecker:
|
||||
class_attribute_msg: ClassVar[str]
|
||||
import_msg: ClassVar[str]
|
||||
module_name_msg: ClassVar[str]
|
||||
lambda_argument_msg: ClassVar[str]
|
||||
|
||||
names: ClassVar[list[str]]
|
||||
ignore_list: ClassVar[set[str]]
|
||||
@@ -29,6 +30,7 @@ class BuiltinsChecker:
|
||||
def run(self) -> Iterator[_Error]: ...
|
||||
def check_assignment(self, statement: ast.Assign | ast.AnnAssign | ast.NamedExpr) -> Iterator[_Error]: ...
|
||||
def check_function_definition(self, statement: ast.FunctionDef | ast.AsyncFunctionDef) -> Iterator[_Error]: ...
|
||||
def check_lambda_definition(self, statement: ast.Lambda) -> Iterator[_Error]: ...
|
||||
def check_for_loop(self, statement: ast.For | ast.AsyncFor) -> Iterator[_Error]: ...
|
||||
def check_with(self, statement: ast.With | ast.AsyncWith) -> Iterator[_Error]: ...
|
||||
def check_exception(self, statement: ast.excepthandler) -> Iterator[_Error]: ...
|
||||
|
||||
Reference in New Issue
Block a user