Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ __pycache__/
/interrogate_badge.svg
/protocol.yml
/*.pid
.ken
9 changes: 8 additions & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@ print_step "Sorting Imports (isort)"
run_command "pdm run isort" "Import sorting"

print_step "Docstring Formatting (docformatter)"
run_command "pdm run docformatter" "Docstring formatting"
echo "${YELLOW}→ Running: pdm run docformatter${NC}"
pdm run docformatter
rc=$?
if [ $rc -eq 0 ] || [ $rc -eq 3 ]; then
print_success "Docstring formatting completed successfully"
else
print_error "Docstring formatting failed"
fi

print_step "Code Formatting (black)"
run_command "pdm run format" "Code formatting"
Expand Down
Loading