Wan2.1/.github/workflows
Claude 59d86dfe65
ci: add GitHub Actions CI/CD pipeline and pre-commit hooks
Implements automated testing, code quality checks, and dependency management
for continuous integration and deployment.

GitHub Actions Workflows:
- Code quality & linting (YAPF, Black, isort, mypy)
- CPU-based unit tests for Python 3.10 and 3.11
- Security scanning (safety, bandit)
- Package building and validation
- Documentation building

Pre-commit Hooks:
- File checks (trailing whitespace, EOF, YAML/JSON validation)
- Code formatting (YAPF, Black)
- Import sorting (isort)
- Linting (flake8)
- Type checking (mypy)
- Security checks (bandit)
- Docstring coverage (interrogate)
- Markdown linting

Dependabot Configuration:
- Weekly dependency updates for Python packages
- Grouped updates for related ecosystems (PyTorch, Transformers)
- Automatic PR creation with labels and reviewers
- Security-focused update strategy

Type Checking:
- mypy.ini with gradual typing configuration
- External dependency stub configuration
- Per-module strictness levels

Files Added:
- .github/workflows/ci.yml - CI/CD pipeline
- .github/dependabot.yml - Dependency updates
- .github/pull_request_template.md - PR template
- .github/ISSUE_TEMPLATE/bug_report.yml - Bug report template
- .github/ISSUE_TEMPLATE/feature_request.yml - Feature request template
- .pre-commit-config.yaml - Pre-commit hooks
- mypy.ini - Type checking configuration

Benefits:
- Automated code quality enforcement
- Early detection of bugs and security issues
- Consistent code style across contributors
- Reduced manual review burden
2025-11-19 04:25:02 +00:00
..
ci.yml ci: add GitHub Actions CI/CD pipeline and pre-commit hooks 2025-11-19 04:25:02 +00:00