You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style: use literals instead of the concatenation operator for long strings
The reason we were using operators was to stop async_to_sync to generate
a line too long and incur in the flake8 ires.
MR psycopg#764 suggests to disable line length check altogether, but we can use
per-file ignore, as there will not be many cases to manage.
f"the default for the {type(self).__name__} 'open' parameter"
119
-
+" will become 'False' in a future release. Please use"
120
-
+" open={True|False} explicitly, or use the pool as context"
121
-
+f" manager using: `with {type(self).__name__}(...) as pool: ...`",
118
+
f"the default for the {type(self).__name__} 'open' parameter will become 'False' in a future release. Please use open={{True|False}} explicitly, or use the pool as context manager using: `with {type(self).__name__}(...) as pool: ...`",
0 commit comments