tessl install tessl/pypi-pep257@0.7.0Python docstring style checker for PEP 257 compliance
Agent Success
Agent success rate when using this tile
72%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.04x
Baseline
Agent success rate without this tile
69%
A small CLI that runs a docstring linter over a provided path while letting the caller opt into richer reporting (explanations, source snippets, verbose logs, and a violation count summary). Default runs should emit only the standard violation lines and exit with a non-zero status when violations exist.
--include-explanations flag appends the rule explanations after each violation; omitting the flag leaves explanations out. @test--include-source flag prints the offending source lines alongside each violation; omitting the flag leaves source snippets out. This should work alongside explanations when both toggles are used. @test--verbose-run flag enables verbose logging that shows which files are inspected; the default run keeps that chatter hidden. @test--with-count flag appends a final line stating the total number of violations and that count matches the violations emitted above; the line is absent when the flag is not provided. @test@generates
def main(argv: list[str] | None = None) -> int:
"""Parse CLI args, run the docstring linter with requested output controls, and return the exit code."""Docstring linter used to produce violations, optional explanations, source snippets, verbose logging, and a count summary.