Skip to content

Use AssertionError instead of assert statements #22

@kinow

Description

@kinow

The assert statements in Python can be disabled via the -O flag (some products recommend disabling it for production). Which could cause wrfpy to behave erratically.

It would be better to validate by raising AssertionErrors or other exceptions.

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