diff --git a/stubs/SQLAlchemy/@tests/stubtest_allowlist.txt b/stubs/SQLAlchemy/@tests/stubtest_allowlist.txt index 9804f4f66..7234e1eb1 100644 --- a/stubs/SQLAlchemy/@tests/stubtest_allowlist.txt +++ b/stubs/SQLAlchemy/@tests/stubtest_allowlist.txt @@ -110,3 +110,4 @@ sqlalchemy.sql.expression.quoted_name.lower sqlalchemy.sql.expression.quoted_name.upper sqlalchemy.sql.quoted_name.lower sqlalchemy.sql.quoted_name.upper +sqlalchemy.util.callable diff --git a/stubs/SQLAlchemy/sqlalchemy/orm/interfaces.pyi b/stubs/SQLAlchemy/sqlalchemy/orm/interfaces.pyi index 7246beb0e..1f222f67c 100644 --- a/stubs/SQLAlchemy/sqlalchemy/orm/interfaces.pyi +++ b/stubs/SQLAlchemy/sqlalchemy/orm/interfaces.pyi @@ -17,7 +17,7 @@ from .base import ( _MappedAttribute as _MappedAttribute, ) -__all__ = [ +__all__ = ( "EXT_CONTINUE", "EXT_STOP", "EXT_SKIP", @@ -31,7 +31,7 @@ __all__ = [ "MapperProperty", "PropComparator", "StrategizedProperty", -] +) class ORMStatementRole(roles.StatementRole): ... class ORMColumnsClauseRole(roles.ColumnsClauseRole): ... diff --git a/stubs/beautifulsoup4/bs4/builder/_htmlparser.pyi b/stubs/beautifulsoup4/bs4/builder/_htmlparser.pyi index c990e7890..bca74d70c 100644 --- a/stubs/beautifulsoup4/bs4/builder/_htmlparser.pyi +++ b/stubs/beautifulsoup4/bs4/builder/_htmlparser.pyi @@ -11,7 +11,7 @@ class BeautifulSoupHTMLParser(HTMLParser): on_duplicate_attribute: Any already_closed_empty_element: Any def __init__(self, *args, **kwargs) -> None: ... - def error(self, msg) -> None: ... + def error(self, msg: str) -> None: ... def handle_startendtag(self, name, attrs) -> None: ... def handle_starttag(self, name, attrs, handle_empty_element: bool = ...) -> None: ... def handle_endtag(self, name, check_already_closed: bool = ...) -> None: ... diff --git a/stubs/fpdf2/fpdf/html.pyi b/stubs/fpdf2/fpdf/html.pyi index 2b1436240..c2e9a3a59 100644 --- a/stubs/fpdf2/fpdf/html.pyi +++ b/stubs/fpdf2/fpdf/html.pyi @@ -67,7 +67,7 @@ class HTML2FPDF(HTMLParser): def set_text_color(self, r: Any | None = ..., g: int = ..., b: int = ...) -> None: ... def put_link(self, txt) -> None: ... def render_toc(self, pdf, outline) -> None: ... - def error(self, message) -> None: ... + def error(self, message: str) -> None: ... class HTMLMixin: HTML2FPDF_CLASS: Any