feat(compliance): add project compliance check with CLI support and tests
-Implemented check_project_compliance(project) function in project_compliance.py to validate compliance for:
-
README.md
-
CONTRIBUTING.md
-
CHANGELOG*
-
LICENSE*
-
.gitlab/issue_templates/
-
.gitlab/merge_request_templates/
-
Project description
-
Project tags
Developed CLI tool run_compliance.py to perform compliance checks interactively.
Supports:
-
Project ID
-
username/project format
-
Full GitLab repository URL
Designed with reusable, modular structure for future integration into a Python package.
Utilized GitLab Repository Tree API for fetching and validating repo structure.
🧪 Tests:
Wrote unit tests in tests/test_project_compliance.py
-
Verified using:
pytest
python3 -m unittest
Manual execution via run_compliance.py