Closed bessman closed 4 years ago
The Codacy quality issues are not really related to the changes introduces by this PR. I'd rather fix them in a separate PR at a later point.
The Codacy quality issues are not really related to the changes introduces by this PR. I'd rather fix them in a separate PR at a later point.
Looks like that came with #118. Should be fixed later. :)
This PR removes the custom exception handling discussed in #115. It should not affect normal operation (with one exception, see below).
Additionally, it changes the behavior of ScienceLab.write_bulk_flash() by changing the indentation level if this block:
In the current version, this block will never be executed because it comes after a
raise
statement. This does not seem intentional, so I fixed it. I have not tested it, but since it does not write anything to the hardware it should be safe.My IDE also autoremoved some trailing whitespace here and there throughout the code.