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

Don't use Python ConnectionError #3055

Merged
merged 1 commit into from
Feb 28, 2025
Merged

Don't use Python ConnectionError #3055

merged 1 commit into from
Feb 28, 2025

Conversation

ouziel-slama
Copy link
Contributor

@ouziel-slama ouziel-slama commented Feb 27, 2025

  • Double-check the spelling and grammar of all strings, code comments, etc.
  • Double-check that all code is deterministic that needs to be
  • Add tests to cover any new or revised logic
  • Ensure that the test suite passes
  • Update the project release notes
  • Update the project documentation, as appropriate, with a corresponding Pull Request in the Documentation repository

@@ -10,7 +10,7 @@

import requests
from bitcoinutils.keys import PublicKey
from requests.exceptions import ChunkedEncodingError, ReadTimeout, Timeout
from requests.exceptions import ChunkedEncodingError, ConnectionError, ReadTimeout, Timeout

Check warning

Code scanning / pylint

Redefining built-in 'ConnectionError'. Warning

Redefining built-in 'ConnectionError'.
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.19%. Comparing base (2a0da56) to head (b939024).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3055      +/-   ##
===========================================
- Coverage    78.14%   77.19%   -0.96%     
===========================================
  Files          102      102              
  Lines        13505    13505              
===========================================
- Hits         10554    10425     -129     
- Misses        2951     3080     +129     

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

@ouziel-slama ouziel-slama merged commit d004f94 into develop Feb 28, 2025
29 of 31 checks passed
@ouziel-slama ouziel-slama deleted the fixes branch February 28, 2025 09:56
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