To avoid the following warning when running python 3.10
Warning: Python 3.10 cannot parse code formatted for Python 3.14. To fix this: run Black with Python 3.14, set --target-version to py310, or use --fast to skip the safety check. Black's safety check verifies equivalence by parsing the AST, which fails when the running Python is older than the target version.
File pyproject.toml by default should contain
[tool.black]
target-version = ["py310"]
To avoid the following warning when running python 3.10
File
pyproject.tomlby default should contain