Missing f prefix on f-strings (#882)

This commit is contained in:
code-review-doctor 2022-04-24 08:19:06 +01:00 committed by GitHub
parent 3c468ff558
commit 061841a314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,7 @@ class VecEnvWrapper(VecEnv):
own_class = f"{type(self).__module__}.{type(self).__name__}" own_class = f"{type(self).__module__}.{type(self).__name__}"
error_str = ( error_str = (
f"Error: Recursive attribute lookup for {name} from {own_class} is " f"Error: Recursive attribute lookup for {name} from {own_class} is "
"ambiguous and hides attribute from {blocked_class}" f"ambiguous and hides attribute from {blocked_class}"
) )
raise AttributeError(error_str) raise AttributeError(error_str)