Merge branch 'code-cleanup' into 'master'

Fixed pylint line ignores

See merge request openflexure/openflexure-microscope-server!76
This commit is contained in:
Joel Collins 2020-10-16 09:35:41 +00:00
commit 01539bef3e

View file

@ -25,8 +25,10 @@ def flat_lens_shading_table(camera):
"This program requires the forked picamera library with lens shading support"
)
return (
np.zeros(camera._lens_shading_table_shape(), dtype=np.uint8) + 32
) # pylint: disable=W0212
# pylint: disable=W0212
np.zeros(camera._lens_shading_table_shape(), dtype=np.uint8)
+ 32
)
def adjust_exposure_to_setpoint(camera, setpoint):