Fix all flake8 errors in all python files (+ edit configuration files).

This commit is contained in:
Davide Casale
2024-02-27 17:24:47 +01:00
parent 2344d44aa0
commit 5543b0b1d2
11 changed files with 33 additions and 32 deletions

View File

@@ -24,7 +24,8 @@ def partial(cls):
if len(kwargs) != 0:
raise TypeError(
f"{cls.__name__}.__init__() got an unexpected keyword argument '{list(kwargs.keys())[0]}'"
f"{cls.__name__}.__init__() got an unexpected "
"keyword argument '{list(kwargs.keys())[0]}'"
)
cls.__init__ = __init__