Skip to content

Releases: Forence1999/py_template

v1.0.1 - Code Formatting Standardization

10 Feb 04:16

Choose a tag to compare

🎨 Code Formatting Standardization

This release standardizes code formatting across all file types in the project, ensuring consistency and adherence to industry best practices.

📝 Changes

Indentation Standards

Unified indentation conventions across all file types:

  • Python: 4 spaces (PEP 8 standard)
  • JSON/YAML: 2 spaces (industry standard)
  • Markdown/HTML/XML: 2 spaces (W3C/Google style guide)
  • Shell scripts: 2 spaces (Google Shell Style Guide)
  • JavaScript/TypeScript: 2 spaces

Configuration Updates

  • .editorconfig: Added comprehensive file type rules with Chinese comments explaining each standard
  • .prettierrc: Configured per-file-type overrides for consistent formatting across all supported file types
  • .vscode/settings.json: Added explicit editor.tabSize settings for all language modes and disabled auto-detection
  • pyproject.toml: Updated Ruff configuration with line-ending = "lf" setting

Applied Formatting

  • Reformatted all project files using Prettier (JSON, YAML, Markdown, etc.)
  • Reformatted all Python files using Ruff
  • 21 files changed, 930 insertions(+), 789 deletions(-)

Documentation

  • Added "Code Style" section to README documenting indentation conventions
  • Updated CHANGELOG.md with complete version history

🔗 Full Changelog

See CHANGELOG.md for complete details.


Full Diff: v1.0.0...v1.0.1

Release v1.0.0

05 Dec 08:46

Choose a tag to compare

A minimal Python project template with modern tooling and best practices.

Features

  • 🏗️ Modern Python packaging with pyproject.toml and uv
  • 🔍 Code quality tools: Ruff for linting and formatting
  • ✅ Pre-commit hooks for automated code quality checks
  • 🧪 Comprehensive test framework with pytest
  • 🐳 Docker support for development and deployment
  • 🚀 GitHub Actions CI/CD workflows
  • 📁 Well-structured project layout with src/ pattern
  • 🖥️ Example CLI application using Click
  • 📚 Comprehensive documentation