Justin Van Winkle

Results 5 issues of Justin Van Winkle

reindenting queries with lists can take a very long time ``` python In [11]: %timeit sqlparse.format('SELECT foo FROM foo WHERE foo IN (' + ','.join(['1'] * 3) + ')', reindent=True)...

Hi, I am the original author of this in about 2008. https://github.com/justinvanwinkle/config-files/blob/master/bin/lintrunner.py

```py from typing import Any from beartype.door import is_bearable from beartype import beartype @beartype def checked_cast[T](typ: type[T], val: Any) -> T: if not is_bearable(val, typ): truncated_repr = repr(val)[:61] # type:...