| Total Complexity | 0 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from candv import Values |
||
| 2 | from candv import VerboseValueConstant |
||
| 3 | from candv import with_constant_class |
||
| 4 | |||
| 5 | from ._translations import gettext_lazy as _ |
||
| 6 | from ._utils import export |
||
| 7 | |||
| 8 | |||
| 9 | @export |
||
| 10 | class FlightFormationConstant(VerboseValueConstant): |
||
| 11 | ... |
||
| 12 | |||
| 13 | |||
| 14 | @export |
||
| 15 | class FLIGHT_FORMATION(with_constant_class(FlightFormationConstant), Values): |
||
| 16 | ECHELON_RIGHT = FlightFormationConstant("F2", _("echelon right")) |
||
| 17 | ECHELON_LEFT = FlightFormationConstant("F3", _("echelon left")) |
||
| 18 | LINE_ABREAST = FlightFormationConstant("F4", _("line abreast")) |
||
| 19 | LINE_ASTEAM = FlightFormationConstant("F5", _("line asteam")) |
||
| 20 | VIC = FlightFormationConstant("F6", _("vic")) |
||
| 21 | FINGER_FOUR = FlightFormationConstant("F7", _("finger four")) |
||
| 22 | DIAMOND = FlightFormationConstant("F8", _("diamond")) |
||
| 23 |