adamchainz/blacken-docs

Different exit codes for syntax errors and linting changes

jpfeuffer opened this issue · 1 comments

Description

How would one be able to correctly fail in CI if everything yields exit code 1?

Alternative: An option for ignoring linting errors as reasons for exit code !=0.

I've added #272 to change the exit code when there are errors.

Alternative: An option for ignoring linting errors as reasons for exit code !=0.

Doesn't the existing --skip-errors help with that?