3 ms·
It's fun that I use it every day but my linter still thinks is a syntax error :)
by martinvol 9y ago
It's fun that I use it every day but my linter still thinks is a syntax error :)
- ericfrederich 9y agoA linter for a dynamic language has got to be the hardest thing ever to implement. In PyCharm if you return from within a contextlib.suppress context it'll think any code following it is unreachable code. https://youtrack.jetbrains.com/issue/PY-25809 https://youtrack.jetbrains.com/issue/PY-25809 https://youtrack.jetbrains.com/issue/PY-16419 https://youtrack.jetbrains.com/issue/PY-16419