Skip to content

Update pyproject toml#382

Merged
kwabenantim merged 2 commits into
masterfrom
381-pyproject-toml
Jul 15, 2026
Merged

Update pyproject toml#382
kwabenantim merged 2 commits into
masterfrom
381-pyproject-toml

Conversation

@kwabenantim

Copy link
Copy Markdown
Member

Description

Fixes #381

Motivation and Context

Modernises setup.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Documentation checklist

  • I have updated all documentation in the code where necessary.
  • I have checked spelling in all (new) comments and documentation.
  • I have added a note to RELEASE.md if relevant (new feature, breaking change, or notable bug fix).

Testing

  • Testing is done automatically and codecov shows test coverage
  • This cannot be tested automatically

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (bbc77ec) to head (e747ac5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #382   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1594      1594           
  Branches       327       327           
=========================================
  Hits          1594      1594           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kwabenantim kwabenantim requested a review from Copilot July 15, 2026 08:52
@kwabenantim kwabenantim marked this pull request as ready for review July 15, 2026 08:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the migration of packaging and tooling configuration to pyproject.toml (per #381), removing legacy setup.py/setup.cfg and aligning CI with the new layout.

Changes:

  • Migrates project metadata, dependencies, and package discovery into pyproject.toml (PEP 621 + setuptools config).
  • Moves tool configuration: isort into pyproject.toml and flake8 into a dedicated .flake8 file.
  • Updates GitHub Actions to stop referencing the removed setup.py, and bumps Codecov action to codecov/codecov-action@v7.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
setup.py Removed legacy setuptools configuration in favor of pyproject.toml.
setup.cfg Removed legacy flake8/isort config (migrated elsewhere).
pyproject.toml Adds full project metadata, dependencies, dynamic version, and isort configuration.
.github/workflows/style.yml Updates isort invocation to exclude the removed setup.py.
.github/workflows/coverage.yml Updates Codecov Action version to v7.
.flake8 Adds flake8 configuration previously stored in setup.cfg.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kwabenantim kwabenantim merged commit 74c978c into master Jul 15, 2026
23 checks passed
@kwabenantim kwabenantim deleted the 381-pyproject-toml branch July 15, 2026 08:57
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.

Migrate setup config to pyproject.toml

3 participants