mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Replace older %-style string formatting with modern Python 3.6+ f-strings for all environment info output in tf_env_collect.sh. This change improves code consistency and readability by unifying the formatting style across all Python code blocks within the script. F-strings are currently the recommended standard in Python due to their clarity and performance. No functionality is changed; the output remains identical. This stylistic update supports easier ongoing maintenance and makes the codebase more inviting to new contributors familiar with contemporary Python best practices. Following the guidelines of clear, imperative, and descriptive commit messages, this change documents *what* is updated and *why* the update is made, ensuring future reviewers understand the motivation. Reference: https://cbea.ms/git-commit/ |
||
|---|---|---|
| .. | ||
| tf_env_collect.sh | ||