CI: add --diff to black
@ReinhardPrix : This should make a failed job report back what are the actual formatting issues. This would be useful as it seems that black is getting stricter in higher python versions, e.g. the changes here passed black 19.10b0 for me on CIT (python 3.6.8) but fail what the CI is running.
Do you have any concerns that the larger job logs might be a problem?
Edited by David Keitel
Merge request reports
Activity
added 1 commit
- 8ef80f6a - CI: add --diff to black for verbose style critique output
Oops, it should be
black --check --diff
, both together, because diff alone gives positive return status even if it finds something to complain about. Commit amended.Edited by David Keitelmentioned in commit a0c86be8
Please register or sign in to reply