commit | 66736d8a88dab7b170614910908d738cea954108 | [log] [tgz] |
---|---|---|
author | Trent Apted <tapted@chromium.org> | Thu May 25 10:38:28 2023 +1000 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 25 20:39:39 2023 +0000 |
tree | 49a7bc08851033c77c7721fe267c6cd3a740b951 | |
parent | 2fc3b23ae50ac26ffaac7098896fea394b93714c [diff] [blame] |
scripts: reformat files tripping docstring-section-indent This is done with a patch to the "pyformat" tool, which also improves some handling of long string literals in a way that is compatible with Black. BUG=b:233893248 TEST=cros lint + CQ Change-Id: Iafd4a27f4843927f2881f48002c29401e37a6790 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4564454 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Tested-by: Trent Apted <tapted@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org>
diff --git a/scripts/sysmon/osinfo_metrics.py b/scripts/sysmon/osinfo_metrics.py index 2b97e9d..8b5f858 100644 --- a/scripts/sysmon/osinfo_metrics.py +++ b/scripts/sysmon/osinfo_metrics.py
@@ -50,7 +50,7 @@ """Get OS name and version. Returns: - OSInfo instance + OSInfo instance """ os_name = platform.system() if os_name == "Linux":