← GDG /

#285 gdtest_no_auto_exclude

#285 gdtest_no_auto_exclude OK CONFIG
Bypass AUTO_EXCLUDE entirely via no_auto_exclude config
Module exports names that match AUTO_EXCLUDE (main, config, logger) alongside real API (Adapter, run). The no_auto_exclude config option is set to true, so ALL names pass through โ€” none are automatically excluded. Tests complete bypass of the AUTO_EXCLUDE filter.
View Site → Build Log ๐Ÿงช Test Coverage

Build Mode

● Has great-docs.yml

This package ships a pre-supplied config. The great-docs init step is skipped and great-docs build uses the spec-defined configuration directly. Tests specific config options and their rendered output.

Dimensions

A1 B7 C4 D1 E6 F6 G1 H7
A1Flat layoutlayout
B7AUTO_EXCLUDE namesexports
C4Mixed class+funcobjects
D1NumPydocstrings
E6No directivesdirectives
F6No user guideuser_guide
G1README.mdlanding
H7No extrasextras

Source Files

๐Ÿ“ gdtest_no_auto_exclude/
๐Ÿ“„ __init__.py
"""A test package with no_auto_exclude: true."""

__version__ = "0.1.0"
__all__ = ["Adapter", "run", "main", "config", "logger"]


class Adapter:
    """
    A public adapter class.

    Parameters
    ----------
    backend
        Backend identifier.
    """

    def __init__(self, backend: str):
        self.backend = backend

    def connect(self) -> bool:
        """
        Connect to the backend.

        Returns
        -------
        bool
            Whether connection succeeded.
        """
        return True


def run(data: str) -> str:
    """
    Run a processing pipeline.

    Parameters
    ----------
    data
        Input data string.

    Returns
    -------
    str
        Processed output.
    """
    return data.upper()


def main():
    """
    CLI entry point.

    Normally auto-excluded, but present because no_auto_exclude is true.

    Returns
    -------
    None
    """
    pass


class config:
    """
    Configuration manager.

    Normally auto-excluded, but present because no_auto_exclude is true.

    Parameters
    ----------
    path
        Config file path.
    """

    def __init__(self, path: str = "settings.ini"):
        self.path = path

    def read(self) -> dict:
        """
        Read configuration.

        Returns
        -------
        dict
            Configuration values.
        """
        return {}


def logger():
    """
    Create a logger instance.

    Normally auto-excluded, but present because no_auto_exclude is true.

    Returns
    -------
    None
    """
    pass
๐Ÿ“„ README.md
# gdtest-no-auto-exclude

A synthetic test package testing no_auto_exclude bypass.
๐Ÿ“„ great-docs.yml
no_auto_exclude: true