roll: pigweed pw_env_setup: Add type annotations to config_file.py

Also use f-strings and pathlib.

Original-Bug: b/373905972
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/243033
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: 03c2d2b925c610b9c1fdb818c732af80a8f88225

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: c460937189a5dc..03c2d2b925c610
Roll-Count: 1
Roller-URL: https://ci.chromium.org/b/8733791958600906225
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I6636bc3e3102a91961cc29c91c9e4117e387fb61
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/243056
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 609c7d0..00a4b7a 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -48,8 +48,8 @@
     module_name = "pigweed",
     # ROLL: Warning: this entry is automatically updated.
     # ROLL: Last updated 2024-10-17.
-    # ROLL: By https://cr-buildbucket.appspot.com/build/8733792380118470929.
-    commit = "c460937189a5dc5365929fedfc0e10906ca185a3",
+    # ROLL: By https://cr-buildbucket.appspot.com/build/8733791958600906225.
+    commit = "03c2d2b925c610b9c1fdb818c732af80a8f88225",
     remote = "https://pigweed.googlesource.com/pigweed/pigweed",
 )
 
@@ -57,8 +57,8 @@
     module_name = "pw_toolchain",
     # ROLL: Warning: this entry is automatically updated.
     # ROLL: Last updated 2024-10-17.
-    # ROLL: By https://cr-buildbucket.appspot.com/build/8733792380118470929.
-    commit = "c460937189a5dc5365929fedfc0e10906ca185a3",
+    # ROLL: By https://cr-buildbucket.appspot.com/build/8733791958600906225.
+    commit = "03c2d2b925c610b9c1fdb818c732af80a8f88225",
     remote = "https://pigweed.googlesource.com/pigweed/pigweed",
     strip_prefix = "pw_toolchain_bazel",
 )