Add __all__ part 2 (#13719)

---------

Co-authored-by: Avasam <samuel.06@hotmail.com>
This commit is contained in:
Semyon Moroz
2025-03-31 18:27:19 -04:00
committed by GitHub
co-authored by Avasam
parent 0104531422
commit a3c8fce58d
132 changed files with 1057 additions and 171 deletions
@@ -1,9 +1,3 @@
# TODO: missing from stub
sassutils.builder.__all__
sassutils.distutils.__all__
sassutils.wsgi.__all__
sass.__all__
# Error: is not present in stub
# =============================
# These are only implemented for the purposes of emitting an error
+17
View File
@@ -183,3 +183,20 @@ class SassMap(Mapping[_KT, _VT_co]):
def __iter__(self) -> Iterator[_KT]: ...
def __len__(self) -> int: ...
def __hash__(self) -> int: ...
__all__ = (
"MODES",
"OUTPUT_STYLES",
"SOURCE_COMMENTS",
"CompileError",
"SassColor",
"SassError",
"SassFunction",
"SassList",
"SassMap",
"SassNumber",
"SassWarning",
"and_join",
"compile",
"libsass_version",
)
+2
View File
@@ -32,3 +32,5 @@ class Manifest:
def unresolve_filename(self, package_dir: str, filename: str) -> str: ...
def build(self, package_dir: str, output_style: _OutputStyle = "nested") -> frozenset[str]: ...
def build_one(self, package_dir: str, filename: str, source_map: bool = False) -> str: ...
__all__ = ("SUFFIXES", "SUFFIX_PATTERN", "Manifest", "build_directory")
+2
View File
@@ -14,3 +14,5 @@ class build_sass(Command):
def finalize_options(self) -> None: ...
def run(self) -> None: ...
def get_package_dir(self, package: str) -> str: ...
__all__ = ("build_sass", "validate_manifests")
+2
View File
@@ -20,3 +20,5 @@ class SassMiddleware:
def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...
@staticmethod
def quote_css_string(s: str) -> str: ...
__all__ = ("SassMiddleware",)