Antony Lee
Antony Lee
`feh -R $directory` is a very useful feature :-) It could be made even more useful if it was possible to instead pass an unexpanded glob pattern as argument (likely...
Closes https://github.com/PyCQA/pycodestyle/issues/945 (see in particular https://github.com/PyCQA/pycodestyle/issues/945#issuecomment-643750340).
Currently, pycodestyle allows ``` { "key": 1, "longer-key": 2, } ``` (actually it emits a E241 "multiple spaces after ":", but that's suppressed by default) but disallows ``` { "key":...
Excludes ``` sorted(obj for obj in iterator if some_long_cond() and some_other_cond()) ``` from E127. It is true that this also lets through some "bad" indents e.g. ``` (1 if a...
Consider ``` [obj for obj in iterator if some_long_cond() and some_other_cond()] (obj for obj in iterator if some_long_cond() and some_other_cond()) sorted(obj for obj in iterator if some_long_cond() and some_other_cond()) ```...
Currently, one-liner classes (`class Foo: pass` or for example more realistically `class T(Enum): a, b, c = range(3)`) trigger E701 ("multiple statements on one line (colon)"). I would suggest moving...
``` $ cat foo.py foo = lambda x: x bar = (lambda x: x) $ pycodestyle foo.py foo.py:1:1: E731 do not assign a lambda expression, use a def ``` The...
joblib currently defaults to md5-hashing its input. For the tasks at hand, a non-cryptographic hash can be significantly faster (see comparison table at http://cyan4973.github.io/xxHash/). scikit-learn provides an implementation of murmurhash...
In https://github.com/pyinstaller/pyinstaller/blob/master/PyInstaller/loader/rthooks/pyi_rth_mplconfig.py pyinstaller currently sets MPLCONFIGDIR to a temporary directory to work around the fact that Matplotlib's font cache used to write the path where matplotlib is installed to a...
AFAICT, when profiling native extensions, py-spy includes symbols from third-party shared objects, but not from libpython (PyFoo_...) itself. This can be desirable sometimes, and was provided e.g. by the (now...