build icon indicating copy to clipboard operation
build copied to clipboard

build should have a --strict mode where it would fail if warnings were present

Open ssbarnea opened this issue 3 years ago • 1 comments

At this moment there is no way to fail a build when warnings are issues during build. That is quite problematic as it means that most of the time warnings fail to be detected, especially on CI/CD as almost nobody checks all the logs from each job.

If we would be able to call build with a strict mode, it would be quite easy to add that to CI/CD and ensure that hat job fails as soon it encounters a warning, forcing maintainers to address the issue.

ssbarnea avatar Jul 18 '22 15:07 ssbarnea

See https://github.com/pypa/build/issues/482.

layday avatar Jul 18 '22 15:07 layday