CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pep257

Python docstring style checker for PEP 257 compliance

72

1.04x
Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "Evaluates whether the solution uses pydocstyle to lint Python files selected by regex while relying on its built-in public/__all__ handling to surface missing-docstring violations with accurate metadata.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Regex wiring",
      "description": "Passes the caller-supplied file regex into pydocstyle (e.g., via Configuration.match or check match arguments) so only matching basenames are linted.",
      "max_score": 20
    },
    {
      "name": "Native traversal",
      "description": "Invokes pydocstyle’s file and package traversal (such as check on paths with match/match_dir) instead of hand-rolled recursion or manual filtering.",
      "max_score": 20
    },
    {
      "name": "__all__ publicity",
      "description": "Lets pydocstyle’s public detection (including __all__ declarations) drive which modules, classes, functions, and methods are subject to D1xx missing-docstring checks, avoiding custom publicity heuristics.",
      "max_score": 25
    },
    {
      "name": "D1xx reporting",
      "description": "Surfaces missing-docstring issues by relaying pydocstyle D1xx errors (e.g., D100–D107) from Error objects or check output rather than fabricating codes/messages.",
      "max_score": 20
    },
    {
      "name": "Error metadata",
      "description": "Builds the result entries from pydocstyle Error attributes (filename, line, code, short_desc/message) so each reported issue includes concrete file and line data from the linter.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pep257

tile.json