This directory contains GitHub Actions workflows for automated checks and builds.
Builds and tests the package on multiple platforms (Ubuntu and Windows) with Python 3.10 and PyTorch 2.4.0.
Triggers: Push and Pull Requests to main branch
Checks for spelling errors in the codebase using codespell.
Triggers: Push and Pull Requests to main branch
Ensures all Python files have the proper FMPose3D header with Apache 2.0 license information.
Triggers: Push and Pull Requests to main branch
How it works:
- Runs
scripts/update_headers.py --checkto verify headers - Fails if any Python files are missing proper headers
- To fix locally, run:
python scripts/update_headers.pyand commit the changes
Before submitting a pull request, you can check and fix headers locally:
# Check if all files have proper headers
python scripts/update_headers.py --check
# Add/update headers to files that need them
python scripts/update_headers.pyThe script will:
- Add the standard FMPose3D header to Python files that don't have one
- Replace old header formats with the current standard
- Preserve shebangs (#!) and
from __future__imports at the top of files - Skip
__init__.pyfiles that are very short