Kevin Kirsche

Results 97 issues of Kevin Kirsche

Per bower/bower.json-spec@a325da3

Bower

Per bower/bower.json-spec@a325da3

Package Managers

A dictionary comprehension can create the dictionary on one line, cutting out the clutter of declaring an empty dict and then adding items. Squeezing code onto one line can make...

Python added f-strings in version 3.6, with [PEP 498](https://www.python.org/dev/peps/pep-0498/). F-strings are a flexible and powerful way to format strings. They make the code shorter and more readable, since the code...

Use [contextlib](https://docs.python.org/3/library/contextlib.html)'s suppress method to silence a specific error, instead of passing in an exception handler. The context manager slightly shortens the code and significantly clarifies the author's intention to...

Per bower/bower.json-spec@a325da3

Right now, everything is hidden behind flags, which is fine but potentially not the most intuitive. It'd be easier I think for people if instead the tool used the positional...

enhancement

Allow the user to decide if they need the payload of the packet itself. This passes the data back to the user so that they can process it if desired.

Using `log` instead of format provides timestamps, easier fatal condition calls, and is (arguably) more idiomatic than `fmt`. What is your though on encouraging the use of `log` instead of...

Per bower/bower.json-spec@a325da3