Skip to content

Update:Add the DX files

What does this MR do and why?

This MR enhances the Project Compliance Checker by adding advanced repository validation checks and improving performance through caching.

Key Improvements:

  • Added new compliance checks for:

    • CI/CD configuration (.gitlab-ci.yml)
    • Pre-commit hooks (.pre-commit-config.yaml)
    • Test directories (tests/, test/)
    • Coverage configuration (.coveragerc, coverage.xml)
    • Linting tools (.ruff.toml, .flake8, .eslintrc*)
    • Code formatting tools (pyproject.toml, .prettierrc, setup.cfg)
    • Type checking setup (mypy.ini, pyproject.toml)
    • Dead code detection tools (vulture.ini, etc.)
    • i18n/l10n folders (locale, locales, i18n, l10n)
  • Introduced caching using @st.cache_data(ttl=60):

    • Reduces redundant GitLab API calls
    • Improves performance and response time
    • Enhances batch processing efficiency

Why?

  • To provide deeper insights into project quality and best practices
  • To improve developer experience (DX) evaluation
  • To optimize performance and scalability of compliance checks

References

  • Implementation: Compliance logic updated with additional checks and caching

Screenshots or screen recordings

| Before image

| After image

MR acceptance checklist

  • Code follows project standards
  • No breaking changes introduced
  • Performance improvements verified (caching applied)
  • Feature tested manually
  • Proper error handling maintained
  • Scalable for batch processing
Edited by Mohana Sri Bhavitha

Merge request reports

Loading