You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add typehints for files:
* mycli/clibuffer.py
* mycli/packages/special/__init__.py
* mycli/packages/special/dbcommands.py
* mycli/packages/special/favoritequeries.py
* mycli/packages/special/iocommands.py
* mycli/packages/special/main.py
Changes
* Import "iocommands" instead of toplevel "special"
* create ArgType Enum for NO_QUERY and friends
* convert special-command aliases argument to a list, since it is of
variable length
* rewrite open_external_editor to respect two different modes for
invoking click.echo(): with and without filename
* recast "log" as "logger" for consistency across the project
* bugfix: always test whether fetchone() returns an unpackable value
* don't set FavoriteQueries.instance to None
* add some explicit returns
* update docstrings
* convert some format strings to f-strings
* convert unassigned strings not in docstring position to comments
* remove a Python 2 compatibility conditional
* return a tuple from parseargfile() rather than a dict
* reformat some long lines
* remove "type: ignore"s
* precede unused variables with underscores
* don't rewrite variables with different-type values
* add --non-interactive to CI when installing type stubs
0 commit comments