Skip to content

Add pixi task for updating docstring examples? #11192

@Illviljan

Description

@Illviljan

Is your feature request related to a problem?

I've found it a little cumbersome getting pytest-accept to run correctly when for example when updating aggregations.
Sometimes it feels like it is differences between operating systems that makes it hard to follow the small script guides we have in for example generate_aggregations.

Would adding a standardized task (or pre-commit?) to automatically fix any errors seen in the examples be interesting?

One risk is it might be overused and unintentionally misses actual bugs so should definitely be triggered manually.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions