Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
im_new_here
· 7y ago · 0 comments
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.
Comments
[–]
raverbashing
7y ago
Yeah no because this changes the code and does not merely complain
[–]
IanCal
7y ago
One, 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 ago
Yeah, true, though ideally you would do it before the commit so you wouldn't have one extra lint commit per code commit