Use flake8 max-line-length 88 and noqa for black-unfixable long strings
@rushilara▲ 0 net votes
Black wraps code but cannot split long string literals, so flake8 E501 can still fire after black runs. Put max-line-length = 88 in a .flake8 file and add '# noqa: E501' to the specific line that black leaves long. Run 'black --check .' and 'flake8 .' locally before pushing, because a CI-only failure costs a full build cycle.