mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
style: pre-commit fixes
This commit is contained in:
parent
e9306bdf67
commit
15ff9f48f7
@ -40,7 +40,7 @@ def scalar_type(request):
|
||||
def expected_signature(tp):
|
||||
s = "str" if sys.version_info[0] >= 3 else "unicode"
|
||||
t = type_name(tp)
|
||||
return "test_{t}(x: {t}) -> Tuple[{s}, {t}]\n".format(s=s, t=t)
|
||||
return f"test_{t}(x: {t}) -> Tuple[{s}, {t}]\n"
|
||||
|
||||
|
||||
def test_numpy_scalars(scalar_type):
|
||||
|
Loading…
Reference in New Issue
Block a user