Simon Glass
8543f02fd2
buildman: Fix remaining pylint warnings in boards.py
...
- Add module-level disable for too-many-lines
- Suppress consider-using-with for NamedTemporaryFile (intentional)
- Change unused linenum to _ in parse_file()
- Suppress too-many-arguments for _check_board()
- Add missing param documentation for parse_extended()
Cover-letter:
buildman: Fix pylint warnings in board.py and boards.py
This series addresses pylint warnings in the buildman board modules,
achieving a 10/10 pylint score.
For board.py, unavoidable warnings (too-many-instance-attributes,
too-few-public-methods, too-many-arguments) are suppressed since the
Board class is a legitimate data container.
For boards.py, the series:
- Fixes line-too-long and missing return documentation warnings
- Refactors complex functions by extracting helper methods to reduce
too-many-branches and too-many-locals warnings
- Adds missing parameter documentation
- Suppresses remaining unavoidable warnings
END
Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com >
Signed-off-by: Simon Glass <simon.glass@canonical.com >
2026-01-03 13:30:53 -07:00
..
2025-07-26 23:55:02 +12:00
2026-01-03 13:30:53 -07:00
2025-12-08 17:37:36 -07:00
2025-12-24 05:17:02 -07:00
2025-08-20 07:41:19 -06:00
2024-10-21 20:51:23 -06:00
2020-04-26 14:23:39 -06:00
2026-01-01 14:27:24 -07:00
2025-12-27 04:51:56 -07:00
2025-12-24 14:26:41 -07:00
2026-01-02 18:13:48 -07:00
2025-05-27 10:14:31 +01:00
2025-08-01 13:20:42 +12:00
2018-05-07 09:34:12 -04:00
2021-09-30 08:08:56 -04:00
2018-05-07 09:34:12 -04:00
2025-08-01 13:20:42 +12:00
2019-07-29 00:20:31 +02:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:05:12 +12:00
2018-05-07 09:34:12 -04:00
2024-09-12 17:35:37 +02:00
2021-01-13 02:38:00 +01:00
2020-06-29 22:36:35 +02:00
2024-07-15 12:12:18 -06:00
2024-10-18 14:10:22 -06:00
2023-04-06 19:10:08 -04:00
2022-01-26 08:50:43 -07:00
2024-07-15 12:12:18 -06:00
2018-11-26 22:52:12 -05:00
2025-05-01 05:56:48 -06:00
2025-08-01 13:05:12 +12:00
2025-08-01 13:20:42 +12:00
2025-11-19 19:51:46 -07:00
2025-11-19 19:37:40 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2010-01-26 00:07:13 +01:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2022-01-19 18:11:34 +01:00
2018-05-07 09:34:12 -04:00
2023-01-27 12:51:26 -05:00
2025-11-19 19:37:40 -07:00
2024-10-21 17:52:52 -06:00
2025-08-01 13:20:42 +12:00
2025-08-04 14:39:59 -06:00
2024-07-15 12:12:18 -06:00
2025-08-01 13:20:42 +12:00
2021-10-21 13:59:26 +02:00
2025-08-01 13:20:42 +12:00
2025-05-27 10:10:06 +01:00
2024-11-25 23:07:37 -03:00
2025-08-01 13:20:42 +12:00
2023-10-09 15:24:31 -04:00
2010-07-25 15:17:23 -04:00
2025-05-27 10:14:31 +01:00
2023-03-29 11:58:26 -04:00
2025-08-01 13:20:42 +12:00
2025-04-29 12:43:50 -06:00
2023-04-13 11:34:47 +02:00
2025-08-01 13:20:42 +12:00
2025-11-19 19:50:09 -07:00
2014-12-18 17:26:08 -07:00
2025-02-25 06:33:57 -07:00
2022-06-23 12:58:18 -04:00
2025-09-04 07:08:24 -06:00
2025-04-29 12:43:50 -06:00
2018-05-07 09:34:12 -04:00
2024-05-24 13:40:04 -06:00
2025-08-04 14:39:59 -06:00
2025-11-18 17:02:33 -07:00
2021-10-25 14:49:58 +01:00
2025-08-01 13:20:42 +12:00
2023-08-03 09:40:50 -04:00
2022-09-23 15:09:16 -04:00
2022-09-23 15:09:16 -04:00
2023-12-13 15:33:57 -03:00
2025-08-01 13:20:42 +12:00
2018-05-07 09:34:12 -04:00
2009-04-28 01:16:46 +02:00
2021-12-02 08:34:01 +02:00
2025-08-01 13:20:42 +12:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:51:56 -04:00
2020-04-24 10:51:56 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2025-08-01 13:20:42 +12:00
2022-02-28 12:01:02 +05:30
2023-04-20 20:45:08 +08:00
2023-04-20 20:45:08 +08:00
2025-05-27 10:14:31 +01:00
2022-12-08 09:29:02 -05:00
2025-04-29 12:43:50 -06:00
2025-08-04 19:37:20 +00:00
2023-09-06 13:28:29 +02:00
2025-08-01 13:20:42 +12:00
2025-04-29 12:43:50 -06:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2019-11-04 18:15:32 -07:00
2019-12-27 15:17:07 +08:00
2025-08-01 13:20:42 +12:00
2025-02-09 12:10:30 -07:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2019-10-08 16:36:37 +02:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2017-05-05 16:45:57 -04:00
2022-09-13 06:38:08 +02:00
2025-08-01 13:20:42 +12:00
2018-05-07 09:34:12 -04:00
2020-11-30 18:32:09 +01:00
2024-07-31 11:20:36 -06:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2022-02-15 12:41:00 +01:00
2023-07-21 09:00:38 +02:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00
2025-08-01 13:20:42 +12:00