aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/sca/target
diff options
context:
space:
mode:
authorJ08nY2021-04-24 19:41:17 +0200
committerJ08nY2021-04-24 19:41:36 +0200
commite949a8f717409d0bdf10eaa5dc19c4aac476ce73 (patch)
treed00d607452777a10c5feb9ee478f1076add6903c /pyecsca/sca/target
parent942c0fb9d6fcbff7c91c553211cc81c7e0939e4e (diff)
downloadpyecsca-e949a8f717409d0bdf10eaa5dc19c4aac476ce73.tar.gz
pyecsca-e949a8f717409d0bdf10eaa5dc19c4aac476ce73.tar.zst
pyecsca-e949a8f717409d0bdf10eaa5dc19c4aac476ce73.zip
More DeepSource fixes.
Diffstat (limited to 'pyecsca/sca/target')
-rw-r--r--pyecsca/sca/target/ISO7816.py4
-rw-r--r--pyecsca/sca/target/simpleserial.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/pyecsca/sca/target/ISO7816.py b/pyecsca/sca/target/ISO7816.py
index 8da06f8..cca09d5 100644
--- a/pyecsca/sca/target/ISO7816.py
+++ b/pyecsca/sca/target/ISO7816.py
@@ -10,7 +10,7 @@ from .base import Target
@public
@dataclass
-class CommandAPDU(object): # pragma: no cover
+class CommandAPDU: # pragma: no cover
"""Command APDU that can be sent to an ISO7816-4 target."""
cls: int
@@ -79,7 +79,7 @@ class CommandAPDU(object): # pragma: no cover
@public
@dataclass
-class ResponseAPDU(object):
+class ResponseAPDU:
"""Response APDU that can be received from an ISO7816-4 target."""
data: bytes
diff --git a/pyecsca/sca/target/simpleserial.py b/pyecsca/sca/target/simpleserial.py
index a28672e..882ac93 100644
--- a/pyecsca/sca/target/simpleserial.py
+++ b/pyecsca/sca/target/simpleserial.py
@@ -8,7 +8,7 @@ from .serial import SerialTarget
@public
-class SimpleSerialMessage(object):
+class SimpleSerialMessage:
"""A SimpleSerial message consisting of a starting character and a hexadecimal string."""
char: str