Skip to content

Commit c36e8fe

Browse files
committed
Format code with black 25.9.0 and ruff-format
- Apply formatting to match CI environment - This ensures files pass pre-commit checks
1 parent eda1317 commit c36e8fe

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/scripts/check_and_update_docs.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
3. Creates a PR with updated documentation if changes are detected
99
4. Adds a notice section to the documentation about the update
1010
"""
11+
1112
from __future__ import annotations
1213

1314
import argparse
@@ -450,9 +451,9 @@ def check_and_update_docs(
450451
print(f"Skipping {api_version} - not yet enabled")
451452
return False
452453

453-
print(f"\n{'='*60}")
454+
print(f"\n{'=' * 60}")
454455
print(f"Checking {api_version.upper()} documentation")
455-
print(f"{'='*60}")
456+
print(f"{'=' * 60}")
456457

457458
# Load version metadata
458459
version_metadata = load_version_metadata(config["version_file"])
@@ -611,8 +612,8 @@ def check_and_update_docs(
611612
612613
This PR was automatically created by the documentation update workflow.
613614
614-
**Source**: [{api_version.upper()} API Documentation]({config['url']})
615-
**Detected Update**: {timestamp or 'Unknown timestamp'}
615+
**Source**: [{api_version.upper()} API Documentation]({config["url"]})
616+
**Detected Update**: {timestamp or "Unknown timestamp"}
616617
**Changes**: {diff_summary}
617618
618619
### What Changed
@@ -726,9 +727,9 @@ def main():
726727
results[version] = False
727728

728729
# Summary
729-
print(f"\n{'='*60}")
730+
print(f"\n{'=' * 60}")
730731
print("Summary")
731-
print(f"{'='*60}")
732+
print(f"{'=' * 60}")
732733
for version, updated in results.items():
733734
status = "Updated" if updated else "No changes"
734735
print(f"{version.upper()}: {status}")

0 commit comments

Comments
 (0)