Skip to content

Commit d276747

Browse files
Code reformat
New passes of "pre-commit run -a" Everything is correct now: Check hooks apply to the repository......................................Passed Check for useless excludes...............................................Passed check for added large files..............................................Passed check for merge conflicts................................................Passed check yaml...............................................................Passed fix end of files.........................................................Passed mixed line ending........................................................Passed trim trailing whitespace.................................................Passed Enforce Python 3.9+ idioms...............................................Passed black....................................................................Passed isort....................................................................Passed Validate GitHub Workflows................................................Passed Lint GitHub Actions workflow files.......................................Passed
1 parent e5ab805 commit d276747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smartcard/ClassLoader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_class(fullClassName, parentClass=None):
4545
# Assert that the class is a subclass of parentClass.
4646
if parentClass is not None:
4747
if not issubclass(aClass, parentClass):
48-
raise TypeError("%s is not a subclass of %s" % (fullClassName, parentClass))
48+
raise TypeError(f"{fullClassName} is not a subclass of {parentClass}")
4949

5050
# Return a reference to the class itself, not an instantiated object.
5151
return aClass

0 commit comments

Comments
 (0)