Skip to content

Initialize Poetry scaffold, core BaZi CLI, and code quality tooling#1

Open
cto-new[bot] wants to merge 1 commit intoPvfrom
feat/init-poetry-bazi-tooling-ci
Open

Initialize Poetry scaffold, core BaZi CLI, and code quality tooling#1
cto-new[bot] wants to merge 1 commit intoPvfrom
feat/init-poetry-bazi-tooling-ci

Conversation

@cto-new
Copy link

@cto-new cto-new bot commented Oct 24, 2025

Summary

This PR initializes the project scaffold using Poetry, implements the initial BaZi command-line interface, and configures code quality and CI tooling.

Details

  • Initializes a Python 3.11 Poetry project with /bazi package and exposes a CLI entry point (bazi-cli).
  • Configures pyproject.toml with metadata, dependencies, scripts, and strict static analysis settings (Black, Ruff, Mypy, pytest).
  • Adds MIT license and a Chinese-language README scaffold with quickstart and code style instructions.
  • Implements minimal CLI with a --version flag and corresponding pytest.
  • Adds .gitignore for common Python and IDE artifacts.
  • Sets up GitHub Actions workflow to run linting and tests on push/PR.

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

…ling

Initializes a Python 3.11 project using Poetry with the core `bazi` package
and a CLI entry point (`bazi-cli`). Adds foundational structure for future
BaZi command-line tool development with standardized Python tooling.

- Configures pyproject.toml with project metadata and scripts
- Adds Black (formatting), Ruff (lint & import sort), Mypy (strict), pytest
  (testing) as dev dependencies
- Sets up .gitignore, MIT license, and Chinese README scaffold
- Implements minimal CLI (`--version`) and a corresponding test
- Adds a GitHub Actions workflow for continuous linting and testing

Establishes a robust baseline for collaborative, high-quality development.
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.

0 participants