56f3b3a027
Respond to the low-hanging code review fruit: - Clean up some comments - Remove an acidentally added duplicate init_autosave - Combine two test_history tests - Move test_init cleanup into a fixture to ensure it gets called. - Name the _ argument of bind(_) to _key - Ensure index is valid for first_item/last_item - Move SqlException to top of module - Rename test_index to test_getitem - Return QItemFlags.None instead of None - Fix copyright dates (its 2017 now!) - Use * to force some args to be keyword-only - Make some returns explicit - Add sql to LOGGER_NAMES - Add a comment to explain the sql escape statement |
||
---|---|---|
.. | ||
__init__.py | ||
autoupdate.py | ||
checkpyver.py | ||
cmdhistory.py | ||
consolewidget.py | ||
crashdialog.py | ||
crashsignal.py | ||
earlyinit.py | ||
editor.py | ||
guiprocess.py | ||
httpclient.py | ||
ipc.py | ||
keyhintwidget.py | ||
lineparser.py | ||
miscwidgets.py | ||
msgbox.py | ||
objects.py | ||
pastebin.py | ||
readline.py | ||
savemanager.py | ||
sessions.py | ||
split.py | ||
sql.py | ||
utilcmds.py |