[Repo Assist] eng(tooling): correct isort py_version from 38 to 39
This PR was created by Repo Assist, an automated AI assistant.
Problem
The [tool.isort] section in pyproject.toml has py_version = 38, meaning isort treats the codebase as targeting Python 3.8. However, the project's minimum Python version is 3.9 (see python = ">=3.9,<3.14" in [tool.poetry.dependencies]).
Fix
Change py_version = 38 → py_version = 39 to align the isort configuration with the actual minimum Python version.
Impact
- Corrects isort's internal Python version assumption for import classification and standard-library detection.
- In practice, the change in import ordering between py38 and py39 is minimal (no imports in this codebase differ), so no reformatting is expected.
Test Status
This is a one-line pyproject.toml configuration change. No code logic was modified. The CI format_check step (which runs isort) will validate that no import reformatting is required.
[!WARNING] Protected Files
This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.
Click here to create the pull request once you have reviewed the changes
Protected files
pyproject.toml
To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.
Generated by Repo Assist, see workflow run. Learn more.
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/repo-assist.md@11c9a2c442e519ff2b427bf58679f5a525353f76
Source: py-why/dowhy