Skip to content

Commit d05f527

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cbec0f0 commit d05f527

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/coverage_badge.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ echo Usage: %~nx0 [OPTIONS]
6969
echo.
7070
echo Options:
7171
echo --coverage-file PATH Path to coverage JSON file
72-
echo --readme-file PATH Path to README.md file
72+
echo --readme-file PATH Path to README.md file
7373
echo --output FORMAT Output format: markdown, urls, update-readme
7474
echo --help, -h, /? Show this help message
7575
echo.

scripts/coverage_badge.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function Invoke-CoverageBadge {
9696
& python @arguments
9797

9898
$exitCode = $LASTEXITCODE
99-
99+
100100
Write-Host ""
101101
if ($exitCode -eq 0) {
102102
Write-Host "✅ Coverage badge generation completed successfully!" -ForegroundColor Green

scripts/coverage_badge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def generate_coverage_badges(coverage_file: Path) -> Dict[str, str]:
8989
badges["python"] = generate_badge_url(
9090
"Python%20coverage", f"{python_pct:.1f}%25", python_color
9191
)
92-
92+
9393
except FileNotFoundError:
9494
print(f"❌ Coverage file not found: {coverage_file}")
9595
if is_windows():
@@ -135,7 +135,7 @@ def update_readme_badges(readme_file: Path, badges_markdown: str) -> bool:
135135
try:
136136
# Use UTF-8 encoding and handle different line endings
137137
content = readme_file.read_text(encoding='utf-8')
138-
138+
139139
# Normalize line endings for cross-platform compatibility
140140
content = content.replace('\r\n', '\n').replace('\r', '\n')
141141

0 commit comments

Comments
 (0)