Scrape `pyproject.toml` to get `supported_python_versions` in `noxfile.py`
Open
Nobody has claimed this yet.
nox
Plasma Lv0 | Novice
Python Lv2 | Intermediate
refactoring ♻️
- Dominant language
- Python
- Stars
- 711
- Forks
- 375
- Avg merge
- 3h 2m
- Merged PRs (30d)
- 8
Description
Right now, the supported versions of Python are defined in pyproject.toml, and then separately defined in noxfile.py. Defining the same thing in two places increases the likelihood that it'll get out of sync, so scraping pyproject.toml to get supported_python_versions will ensure that it's the same in both places.
Thanks to @rocco8773 for bringing this up!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the supported Python version definitions in pyproject.toml and noxfile.py. Determine how noxfile.py can use the value from pyproject.toml, then verify that the versions remain consistent and the nox sessions still run as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100