Context
client.py:381-388 claimed PYTHON_ENV / ENV / ENVIRONMENT env vars were honored; only ADCP_ENV was. Docstring was stale for months.
Add a test that AST-parses public method docstrings, looks for env-var references, then greps the code for matching os.environ.get(...) calls. Drift = test failure.
Acceptance Criteria
Files
src/adcp/client.py:381-388 (the original drift)
Context
client.py:381-388claimedPYTHON_ENV/ENV/ENVIRONMENTenv vars were honored; onlyADCP_ENVwas. Docstring was stale for months.Add a test that AST-parses public method docstrings, looks for env-var references, then greps the code for matching
os.environ.get(...)calls. Drift = test failure.Acceptance Criteria
tests/test_docstring_consistency.pysrc/adcp/os.environ.get(...)call existsFiles
src/adcp/client.py:381-388(the original drift)