def METHOD_NAME(rule_runner: RuleRunner) -> None:
    rule_runner.write_files({"f.py": BAD_FILE, "BUILD": "python_sources(name='t')"})
    tgt = rule_runner.get_target(Address("", target_name="t", relative_file_path="f.py"))
    result = run_pydocstyle(rule_runner, [tgt])
    assert len(result) == 1
    assert result[0].exit_code == 1
    assert "D100: Missing docstring in public module" in result[0].stdout