Skip to content

chore: improve pyproject.toml readability#590

Merged
ajbozarth merged 1 commit into
generative-computing:mainfrom
ajbozarth:chore/improve-pyproject-readability
Mar 6, 2026
Merged

chore: improve pyproject.toml readability#590
ajbozarth merged 1 commit into
generative-computing:mainfrom
ajbozarth:chore/improve-pyproject-readability

Conversation

@ajbozarth

@ajbozarth ajbozarth commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Misc PR

Type of PR

  • Bug Fix
  • New Feature
  • Documentation
  • Other

Description

Improves the readability and maintainability of pyproject.toml without changing functionality.

Changes

  • Added section dividers using the repo's established style (matching tooling/ pattern)
  • Consolidated MyPy configuration (moved overrides adjacent to main config)
  • Cleaned up unused Ruff lint rule comments (removed B, PTH, RET, SIM, D107, UP006/007/035)
  • Aligned inline comments consistently for better maintainability

Related Issues

Closes #585 (invalid - Ruff recommends pyproject.toml)
Closes #586 (invalid - Pytest doesn't support pytest.toml)

Part of #453 (streamline pyproject.toml)

Testing

  • ruff check pyproject.toml passes
  • ✅ Pre-commit hooks pass
  • ✅ No functional changes to tool configurations

Testing

  • Tests added to the respective file if code was changed
  • New code has 100% coverage if code as added
  • Ensure existing tests and github automation passes (a maintainer will kick off the github automation when the rest of the PR is populated)

- Add section dividers
- Consolidate MyPy config
- Clean up unused Ruff comments

Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
@ajbozarth ajbozarth self-assigned this Mar 6, 2026
@ajbozarth
ajbozarth requested a review from a team as a code owner March 6, 2026 00:39
@github-actions

github-actions Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

The PR description has been updated. Please fill out the template for your PR to be reviewed.

@mergify

mergify Bot commented Mar 6, 2026

Copy link
Copy Markdown

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|release)(?:\(.+\))?:

@ajbozarth
ajbozarth added this pull request to the merge queue Mar 6, 2026
Merged via the queue into generative-computing:main with commit 651d5bb Mar 6, 2026
6 checks passed
@ajbozarth
ajbozarth deleted the chore/improve-pyproject-readability branch March 6, 2026 16:18
akihikokuroda pushed a commit to akihikokuroda/mellea that referenced this pull request May 27, 2026
- Add section dividers
- Consolidate MyPy config
- Clean up unused Ruff comments

Signed-off-by: Alex Bozarth <ajbozart@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.

chore: move pytest configs into a pytest.toml chore: move ruff config into a ruff.toml

2 participants