From 62111cd6dbc869122a7738ecb59071c9f9aeb825 Mon Sep 17 00:00:00 2001 From: Semyon Moroz Date: Sat, 21 Jun 2025 17:44:25 +0000 Subject: [PATCH] Bump flake8 to 7.3.* (#14315) Closes #14313 --- stubs/flake8/METADATA.toml | 2 +- stubs/flake8/flake8/_compat.pyi | 4 ++++ stubs/flake8/flake8/processor.pyi | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stubs/flake8/METADATA.toml b/stubs/flake8/METADATA.toml index e327bf388..f84346a54 100644 --- a/stubs/flake8/METADATA.toml +++ b/stubs/flake8/METADATA.toml @@ -1,3 +1,3 @@ -version = "7.2.*" +version = "7.3.*" upstream_repository = "https://github.com/pycqa/flake8" requires = ["types-pyflakes"] diff --git a/stubs/flake8/flake8/_compat.pyi b/stubs/flake8/flake8/_compat.pyi index 2cf456fec..7fbc26e88 100644 --- a/stubs/flake8/flake8/_compat.pyi +++ b/stubs/flake8/flake8/_compat.pyi @@ -3,3 +3,7 @@ from typing import Final FSTRING_START: Final[int] FSTRING_MIDDLE: Final[int] FSTRING_END: Final[int] + +TSTRING_START: Final[int] +TSTRING_MIDDLE: Final[int] +TSTRING_END: Final[int] diff --git a/stubs/flake8/flake8/processor.pyi b/stubs/flake8/flake8/processor.pyi index 87d26df68..f193a2184 100644 --- a/stubs/flake8/flake8/processor.pyi +++ b/stubs/flake8/flake8/processor.pyi @@ -43,6 +43,7 @@ class FileProcessor: def __init__(self, filename: str, options: Namespace, lines: list[str] | None = None) -> None: ... @property def file_tokens(self) -> list[TokenInfo]: ... + def tstring_start(self, lineno: int) -> None: ... def fstring_start(self, lineno: int) -> None: ... def multiline_string(self, token: TokenInfo) -> Generator[str, None, None]: ... def reset_blank_before(self) -> None: ...