Joe Young
Joe Young
Love the playground! Just noticed that when I double space in the playground it inserts a full stop for me, which makes the python unparsable. e.g. start with any bit...
### Description Closes #1872. Does 2 things: a) Refactor `EmptyLineTracker` for more consistent look-back logic. Simplifies logic by removing complex interactions between `before` and `after` for various rules. b) Standardise...
**Describe the bug** Python has a `NoReturn` type ([docs](https://docs.python.org/3/library/typing.html#typing.NoReturn)) used to indicate that a function can never return (it's used by static analysis tools to analyse dead code zones). Currently...
```python a = lambda x: x # Raises E731 a = ( lambda x: x ) # Doesn't raise E731 a, b = lambda x: x, lambda y: y #...
Often when executing queries I'll need to revisit and tweak/correct a previous query that I've executed. In usql the up arrow walks back through the query history one line at...
Several of the DBs I work with have really long host names (it's pretty common with AWS/Azure) which results in my prompt in usql being unreasonably long causing a lot...
When trying to fix an [issue](https://github.com/python/typeshed/issues/7516) in `typeshed` we found that both `mypy` and `pyright` raised incorrect errors that were also inconsistent with one another so I'm creating this issue...
From GitLab SQL style guide: https://about.gitlab.com/handbook/business-technology/data-team/platform/sql-style-guide/#joins `Specify the order of a join with the FROM table first and JOIN table second:` ```sql -- Good FROM source LEFT JOIN other_source ON...