build
build copied to clipboard
build should have a --strict mode where it would fail if warnings were present
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.
See https://github.com/pypa/build/issues/482.