Commit graph

9 commits

Author SHA1 Message Date
Richard Bowman
a9fff24848 Explicitly specify encoding
The update to pylint means we were failing because open()
doesn't specify the encoding everywhere.  I have now specified utf-8
everywhere.  This was patchy before, and is default behaviour on the
Pi.  There's a slim chance it will cause some issues on Windows, but
that shouldn't affect anyone outside the developers.

I've also ignored a couple of new spurious warnings, and explicitly
ignored some unused variables.
2022-08-09 07:16:44 +01:00
Joel Collins
7866ec0f47 Static type analysis 2020-11-30 13:36:45 +00:00
Joel Collins
c9c29a7db4 Moved gen() into streams.py 2020-11-17 11:20:07 +00:00
Joel Collins
6fb61e1e3f Reverted logging style 2020-11-12 15:45:58 +00:00
Joel Collins
9f5252194a Updated all log strings to new format 2020-11-12 15:12:17 +00:00
Joel Collins
b350f62013 Removed old JSONResponse class 2020-11-12 13:50:48 +00:00
Joel Collins
994e83dbeb Code cleanup 2020-10-14 14:56:29 +00:00
Joel Collins
2bfb988460 Code formatting 2020-10-13 15:02:19 +01:00
Joel Collins
eeb15453d0 Moved eV GUI stuff out of LabThings 2020-01-07 22:25:19 +00:00
Renamed from openflexure_microscope/api/utilities.py (Browse further)