Skip to content

Code quality assessor enhancements (ADR A.6, A.7) #462

@jwm4

Description

@jwm4

Self-assigning to work on this issue.

Plan

A.6 - TypeAnnotationsAssessor strict mode detection (Python)

  • Add _check_python_strict_mode() method to code_quality.py
  • Check for strict mode in: mypy.ini, setup.cfg, pyproject.toml (mypy section), pyrightconfig.json
  • Award bonus points based on strict mode config presence
  • Update docs/attributes.md to document strict mode for Python

A.7 - StandardLayoutAssessor naming consistency

  • Add _check_naming_consistency() method to structure.py
  • Scan directories for mixed naming conventions (snake_case vs camelCase vs kebab-case)
  • Report as evidence without affecting score (substantiating info for agent glob-ability)

Tests

  • Add tests for Python strict mode detection in test_assessors_typescript.py (or new file)
  • Add tests for naming consistency in test_assessors_structure.py

Docs

  • Update docs/attributes.md for both features

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions