Skip to content

Naming enums into macros #14

@jorgepiloto

Description

@jorgepiloto

🐞 Problem

The naming convention used for Python enumerations is macros-like. This means that enumerations objects should be completely written with capital letters.

As an example, consider the following conversion AgEVePropagatorType.ePropagatorTwoBody converts to PROPAGATOR_TYPE.TWO_BODY.

Some issues will arise when dropping some prefixes, as enumeration items can not start with numbers. Same applies when naming Python variables.

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