Links
AI / Agents
gdtest-config-extra-keys
Tests that unrecognized config keys are silently ignored.
Config YAML includes unrecognized keys (custom_field, future_option) alongside valid ones. The build should succeed without errors — unknown keys should be silently ignored. Key test: forward-compatible config parsing.
Source files
gdtest_config_extra_keys/
__init__.py
"""Package testing forward-compatible config parsing."""
__version__ = "0.1.0"
__all__ = ["echo", "identity"]
def echo(message: str) -> str:
"""
Echo a message back.
Parameters
----------
message
The message to echo.
Returns
-------
str
The same message.
"""
return message
def identity(x):
"""
Return the input unchanged.
Parameters
----------
x
Any value.
Returns
-------
object
The same value.
"""
return xREADME.md
# gdtest-config-extra-keys Tests that unrecognized config keys are silently ignored.
great-docs.yml
display_name: Extra Keys Test
custom_field: this-should-be-ignored
future_option: true
nested_unknown:
level: 2
items:
- a
- b
- c