Daveshawley
- Total activity 6
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 2
-
Daveshawley created a post, AnsweredPycharm inserting `import` statements inside of function bodies
I'm not sure when this changed but the newer versions of PyCharm have started inserting `import` statements directly in local scope instead of the top of the module. The first two steps in the proc... -
Daveshawley commented, -
Daveshawley created a post, Implicitly concatenated strings treated as `str` instead of `typing.Literal`
The `psycopg.sql.SQL` class expects a literal string (aka, `typing.Literal`) as its parameter type. PyCharm respects this unless you pass an implicitly concatenated string literal. For example, the...