Now we have like
...
[tool.isort]
line_length = 120
[tool.black]
line-length = 120
...
in pyproject.toml
besides
...
args: [--max-line-length=120]
...
for flake8 in pre-commit-config.yaml.
So, either configure max-line-length in pyproject.toml or move line_length for isort and line-length for black to pre-commit-config.yaml.