Links
AI / Agents
gdtest-no-auto-exclude
A synthetic test package testing no_auto_exclude bypass.
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.
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
"""
passREADME.md
# gdtest-no-auto-exclude A synthetic test package testing no_auto_exclude bypass.
great-docs.yml
no_auto_exclude: true