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-1/

{
  "context": "Evaluates whether the solution drives pydocstyle programmatically to lint targets with toggleable suppression behavior, custom property decorator handling, and selectable rule filtering, returning structured violations for tooling. Emphasis is on correct use of pydocstyle APIs and options rather than general code structure.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Programmatic run",
      "description": "Invokes the pydocstyle library directly (e.g., pydocstyle.check or ConventionChecker.check_source) instead of shelling out, supplying file or directory targets through the API.",
      "max_score": 20
    },
    {
      "name": "Rule filtering",
      "description": "Passes select/ignore (and optional add-select/add-ignore) arguments into the pydocstyle check call so only the requested D-code prefixes are reported.",
      "max_score": 20
    },
    {
      "name": "Inline suppression toggle",
      "description": "Controls inline suppression handling via the ignore_inline_noqa flag when calling pydocstyle so that violations suppressed by noqa comments can be surfaced on demand.",
      "max_score": 20
    },
    {
      "name": "Property decorators",
      "description": "Supplies custom decorator names through the property_decorators option so decorated methods are treated as properties for docstring checks.",
      "max_score": 20
    },
    {
      "name": "Structured errors",
      "description": "Collects pydocstyle Error objects from the check result and returns structured data including error code, message, path, line number, and optional source/context when requested.",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pep257

tile.json