Skip to content

Codeblock-scoped # optional annotations for doctests (modularization) #35750

@mkoeppe

Description

@mkoeppe

They would enable us to:

  • keep doctest annotations sufficiently fine-grained for the purposes of test coverage in modularized tests
  • reduce the visual clutter in source code and formatted documentation
  • reduce the maintenance effort (in particular when using primitive text editors).

See

Switching from the current line-level annotations to block-level annotations (where it makes sense) can be easily automated. We should include such an automation tool in Sage. It would complement the other development tools provided to assist with modularization tasks. That's:

See also:

Part of:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions