Skip to content

Add pre-commit hooks and code quality baseline#4

Open
pdettori wants to merge 1 commit intomainfrom
orchestrate/precommit
Open

Add pre-commit hooks and code quality baseline#4
pdettori wants to merge 1 commit intomainfrom
orchestrate/precommit

Conversation

@pdettori
Copy link
Contributor

Summary

  • Add .pre-commit-config.yaml with ruff lint/format, trailing-whitespace, end-of-file-fixer, and check-added-large-files hooks
  • Add root pyproject.toml with ruff configuration (line-length 120, Python 3.11 target)
  • Add Makefile with lint and fmt targets
  • Add CLAUDE.md with repo overview, structure, key commands, and conventions
  • Add .claude/settings.json with safe command permissions for Claude Code
  • Apply ruff formatting fixes to all existing Python source files

Test plan

  • Verify pre-commit run --all-files passes
  • Verify make lint runs successfully
  • Verify make fmt runs successfully
  • Confirm no functional changes to Python source files (format-only)

🤖 Generated with Claude Code

Add code quality baseline for the workload-harness repo:
- .pre-commit-config.yaml with ruff lint/format and common hooks
- Root pyproject.toml with ruff configuration (line-length 120, py311)
- Makefile with lint and fmt targets
- CLAUDE.md with repo overview, structure, and key commands
- .claude/settings.json with safe command permissions
- Apply ruff formatting fixes to existing Python files

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant