| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Catching all exceptions is generally considered a bad practice under
most circumstances as it will also catch KeyboardInterrupt and
SystemExit. These special cases should be raised to the interpreter to
allow the Python process to exit.
This fix complies with pycodestyle's error code E722:
https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
> do not use bare except, specify exception instead
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unused imports were discovered using flake8. By removing the unused
imports, the code is a bit friendlier to new contributors as it is
clearer what is being used and not simply leftover from previous
refactoring.
The flake8 command:
$ flake8 . --select F401
http://flake8.pycqa.org/
|
|
|
|
|
|
| |
Many editors clean up trailing white space on save. By removing it all
in one go, it helps keep future diffs cleaner by avoiding spurious white
space changes on unrelated lines.
|
|
|