Skip to content

Commit

Permalink
Replace Enum with IntEnum
Browse files Browse the repository at this point in the history
Co-authored-by: Filippo Luca Ferretti <[email protected]>
  • Loading branch information
Giulero and flferretti authored Oct 12, 2023
1 parent 626b211 commit e19cc34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/adam/core/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from enum import Enum
from enum import IntEnum


class Representations(Enum):
BODY_FIXED_REPRESENTATION = 0
MIXED_REPRESENTATION = 1
class Representations(IntEnum):
BODY_FIXED_REPRESENTATION = enum.auto()
MIXED_REPRESENTATION = enum.auto()

0 comments on commit e19cc34

Please sign in to comment.