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
ef0f74838a
Removed unused import
2021-01-07 10:09:43 +00:00
Joel Collins
e8560a1d5d
Removed unused ERROR_SOURCES
2021-01-06 17:31:58 +00:00
Joel Collins
61554af270
Restructured camera rescue
2021-01-06 17:31:45 +00:00
Kaspar Emanuel
805b9012dd
Make linter happy
2020-12-02 10:57:07 +00:00
Kaspar Emanuel
cc73aec257
Detect picamera in use error
2020-12-02 10:46:23 +00:00
Kaspar Emanuel
cc1c5e77c3
Format check_picamera.py with black
2020-12-02 10:46:23 +00:00
Kaspar Emanuel
fbd3b349df
Detect camera not enabled picamerax error
2020-12-02 10:46:21 +00:00
Joel Collins
7866ec0f47
Static type analysis
2020-11-30 13:36:45 +00:00
Joel Collins
6fb61e1e3f
Reverted logging style
2020-11-12 15:45:58 +00:00
Joel Collins
1f0b90cff1
Added rescue to Poetry scripts
2020-11-12 15:18:37 +00:00
Joel Collins
9f5252194a
Updated all log strings to new format
2020-11-12 15:12:17 +00:00
Joel Collins
6644819352
Formatting
2020-11-12 14:33:08 +00:00
Joel Collins
f4b123c237
Style and linting
2020-11-12 14:28:44 +00:00
Joel Collins
4a9d1c5e3c
Removed default JSON files and submoduled JSON encoder class
2020-11-12 12:02:09 +00:00
Joel Collins
471ee5e33d
Removed unused output
2020-11-06 17:28:08 +00:00
Joel Collins
cbea2f51be
Removed unused import
2020-11-06 17:26:07 +00:00
Joel Collins
8349b3719c
Added platform info to output
2020-11-06 17:26:00 +00:00
Joel Collins
e41656355f
Formatting and linting
2020-11-06 17:11:17 +00:00
Joel Collins
5319beb735
Removed port scanning warning
2020-11-06 17:11:07 +00:00
Joel Collins
5afff59785
Added internet, RAM, and storage checkers
2020-11-06 16:59:43 +00:00
Joel Collins
cd61ad3b21
Formatting and linting
2020-11-06 16:25:56 +00:00
Joel Collins
0647acd47d
Upped capture count warning to 10000
2020-11-06 16:15:34 +00:00
Joel Collins
061618d9e6
Changed newline symbols
2020-11-06 16:15:26 +00:00
Joel Collins
121afb44b8
Added newline symbols
2020-11-06 16:11:53 +00:00
Joel Collins
9e887c0a48
Added capture count warning
2020-11-06 16:11:44 +00:00
Joel Collins
de135abc95
Style and linting
2020-11-06 15:53:25 +00:00
Joel Collins
f12671fa3f
Support tuple-split strings as error messages
2020-11-06 15:53:20 +00:00
Joel Collins
0989a50558
Added stage tests and tidied up rescue
2020-11-06 15:34:34 +00:00
Joel Collins
70437212b1
Added classes for error sources
2020-11-06 12:19:41 +00:00
Joel Collins
013aebd97a
Added picamera import checker
2020-11-06 10:36:31 +00:00
Joel Collins
b98522a424
Changed reload to 60s timeout
2020-11-06 10:36:24 +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
caf553db7a
Moved capture management into separate object
2020-04-28 14:32:56 +01:00
Joel Collins
9842de8859
Started basic rescue script
2020-03-03 16:13:21 +00:00