Skip to content

Conversation

nlebovits
Copy link
Contributor

@nlebovits nlebovits commented Oct 19, 2025

Related Issue(s):

Description:
Moves -Werror from scripts/test to pyproject.toml for consistent warning handling across all test runs. Removes redundant decorators.

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to CHANGELOG.md

@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.06%. Comparing base (21435b0) to head (19ccb0c).
⚠️ Report is 154 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #841      +/-   ##
==========================================
+ Coverage   93.43%   95.06%   +1.63%     
==========================================
  Files          13       15       +2     
  Lines         990     1217     +227     
==========================================
+ Hits          925     1157     +232     
+ Misses         65       60       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…ing handling across all test runs. Removes redundant decorators.
@nlebovits nlebovits force-pushed the lebovits/837-add-werror-to-pyproject branch from c498bd4 to 19ccb0c Compare October 19, 2025 21:20
@gadomski gadomski self-requested a review October 20, 2025 15:19
./scripts/lint
./scripts/format
# Test suite with coverage enabled
pytest -Werror --cov pystac_client --cov-report term-missing
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You shouldn't need to put it here. It should be coming from the pyproject.toml anyways.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review! Just to clarify--is my change wrong? I moved the -Werror flag from scripts/test to pyproject.toml, which I thought was the intended update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants