Repository navigation
build: move setup.cfg and .pylintrc into pyproject.toml - #2355
Open
jorgeecardona wants to merge 1 commit into
Open
jorgeecardona wants to merge 1 commit into
jorgeecardona wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Python 3.8 cannot satisfy the new build backend requirement, and legacy build targets do not provision setuptools-scm.
2 open findings
What changed in this PR
Consolidates packaging and lint configuration in pyproject.toml as groundwork for issue #1878.
Changes:
- Migrates setuptools metadata to PEP 621.
- Migrates Pylint configuration.
- Removes obsolete configuration files.
| File | Description |
|---|---|
pyproject.toml |
Adds build, project, setuptools, and Pylint configuration. |
setup.py |
Reduces setup script to a compatibility stub. |
setup.cfg |
Removes migrated packaging configuration. |
.pylintrc |
Removes migrated Pylint configuration. |
.pep8rc |
Removes unused configuration. |
Makefile |
Lets Pylint discover its configuration automatically. |
releasenotes/notes/pyproject-abfdd856d4efd8ca.yaml |
Documents the configuration migration. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The build backend stays setuptools. - Project metadata moves to PEP 621 [project]. - setuptools_scm is configured only in [tool.setuptools_scm] and is now a Pipfile dev dependency. setup.py is a bare setuptools.setup(), kept because the Makefile still calls it. - pylint config moves to [tool.pylint.*]. broad-exception-raised now fires (the old overgeneral-exceptions value was ineffective), so its one intentional use in prefs.py gets an inline disable. - Remove dead config: .pep8rc, build_sphinx, universal wheel.
jorgeecardona
force-pushed
the
pyproject-config
branch
from
October 11, 2026 07:49
d0f9d43 to
f82ae52
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Move
setup.cfgand.pylintrcintopyproject.toml. Build backend stays setuptools.[tool.setuptools_scm], now a Pipfile dev dependency;setup.pyis a baresetuptools.setup().prefs.py..pep8rc,build_sphinx, universal wheel.py3-none-anywithRequires-Python: >=3.8; otherwise same files.Tested: build, pylint/black/flake8, 30 tests.