Skip to content

chore: improve pyproject.toml readability#590

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

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

Conversation

@ajbozarth
Copy link
Contributor

@ajbozarth ajbozarth commented Mar 6, 2026

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
Copy link
Contributor

github-actions bot commented Mar 6, 2026

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

@mergify
Copy link

mergify bot commented Mar 6, 2026

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
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