Skip to content

Commit

Permalink
Lint code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfish committed Dec 12, 2024
1 parent 3e61536 commit 0242d16
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyvex/const.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# pylint:disable=missing-class-docstring,raise-missing-from,not-callable
import re
from abc import ABC

from .enums import VEXObject, get_enum_from_int
from .errors import PyVEXError
from .native import ffi, pvc


# IRConst hierarchy
class IRConst(VEXObject):
class IRConst(VEXObject, ABC):
__slots__ = ["_value"]

type: str
Expand All @@ -16,7 +18,7 @@ class IRConst(VEXObject):
_value: int

def pp(self):
print(self.__str__())
print(str(self))

@property
def value(self) -> int:
Expand Down

0 comments on commit 0242d16

Please sign in to comment.