Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure no unhandled warnings are emitted during pytest run #1540

Merged
merged 18 commits into from
Dec 13, 2024

Conversation

lbianchi-lbl
Copy link
Contributor

Resolves: #1508

Changes proposed in this PR:

  • Address warnings emitted by pytest for improper use
  • Add handling for known warnings emitted by 3rd-party code (e.g. parameter_sweep) when running tests
  • Add -Werror to default pytest flags used in CI to cause failure if new unhandled warnings appear
  • Misc fixes to pytest.ini and test files

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@lbianchi-lbl lbianchi-lbl merged commit 80d9ac7 into watertap-org:main Dec 13, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:High High Priority Issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure no unexpected warnings are emitted while running test suite (post 1.1 release)
2 participants