Skip to content

When option -W is used, an warning internally issued with the warnings module should make pydoctor exit with code 3 #930

@tristanlatr

Description

@tristanlatr

This will require to used a special Warning subclass and capture it to reflect it in the exit code.

This warning for instance can be triggered with option -W and the exit code will be zero.
UserWarning: No such config option: 'processtypes'
warnings.warn(f"No such config option: {key!r}")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions