Skip to content

Conversation

mingi3314
Copy link
Collaborator

@mingi3314 mingi3314 commented May 28, 2025

TL;DR

Set up project infrastructure with development tools, GitHub workflows, and code quality configurations.

What changed?

  • Added GitHub workflows for automated testing, PR labeling, and release management
  • Created PR template with structured sections for changes, tests, and task links
  • Set up pre-commit hooks with ruff for linting and formatting
  • Configured mypy for type checking
  • Added VSCode settings and recommended extensions
  • Created project structure with initial package files
  • Added commit message validation script enforcing conventional commits
  • Set up pyproject.toml with project metadata and tool configurations
  • Added uv.lock file for dependency management

How to test?

  • Clone the repository and run pre-commit install to set up git hooks
  • Try creating a PR to verify the template works
  • Make a commit to test the commit message validation
  • Run uv sync --locked --no-group dev to install development dependencies
  • Run pytest to verify the test setup works

Why make this change?

This change establishes a solid foundation for the alphastats project with modern Python development practices. It ensures code quality through automated linting, formatting, and type checking while streamlining the development workflow with proper CI/CD pipelines. The structured PR template and commit conventions will help maintain clear documentation of changes throughout the project's lifecycle.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@mingi3314 mingi3314 marked this pull request as ready for review May 28, 2025 09:31
@mingi3314 mingi3314 self-assigned this May 28, 2025
@mingi3314 mingi3314 requested a review from sjquant May 28, 2025 09:32
@alphaprime-dev-discord
Copy link

@mingi3314 mingi3314 merged commit 00c79b6 into main May 29, 2025
1 check passed
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.

2 participants