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.
Summary
の CI で flake8 が古い為に Python 3.12 で Lint が失敗する問題を修正します。
またついでに black, isort のバージョンも更新します。 バージョンは現在のそれぞれの VS Code 拡張機能のサポートバージョンと合わせます。
Remarks
pybotters の Python 最小要件は
^3.8.0
だが、flake8 6.1.0 の Python 最小要件が^3.8.1
なのでコンフリクトしている。 Python 3.8.0 で開発することは稀 (現在の 3.8 系最新は 3.8.18) だと考えられるので、Poetry の複数バージョン制約表記 1 でこれを回避します。https://github.com/MtkN1/pybotters/blob/8b16afcba77807a943232c7b545cbc738d3f8555/pyproject.toml#L37
Footnotes
https://python-poetry.org/docs/dependency-specification/#multiple-constraints-dependencies ↩