[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:
github-actions[bot]
2024-04-03 10:51:19 +01:00
committed by GitHub
parent 6d19a17f57
commit 0685754ab3
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
version = "2.3.*"
version = "2.4.*"
upstream_repository = "https://github.com/gforcada/flake8-builtins"
partial_stub = true

View File

@@ -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]: ...