5 ms·
CI runs a linter and fails the build if the output is non-empty. PRs can't be merged unless the build passes on the branch.
by im_new_here 7y ago
CI runs a linter and fails the build if the output is non-empty. PRs can't be merged unless the build passes on the branch.
- raverbashing 7y agoYeah no because this changes the code and does not merely complain
- IanCal 7y agoOne, that shouldn't matter on CI anyway. Two, you can tell black to just print the difference with --diff and tell it to just check the files with --check.
- raverbashing 7y agoYeah, true, though ideally you would do it before the commit so you wouldn't have one extra lint commit per code commit