newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
176 stars 99 forks source link

Fix Issues in PyMongo and Botocore Tests #1218

Closed TimPansino closed 3 days ago

TimPansino commented 4 days ago

Overview

github-actions[bot] commented 4 days ago

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 2 0 5.81s
✅ PYTHON black 4 1 0 2.25s
❌ PYTHON flake8 4 1 1.1s
✅ PYTHON isort 4 1 0 0.25s
✅ PYTHON pylint 4 0 6.9s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov-commenter commented 4 days ago

Codecov Report

Attention: Patch coverage is 57.14286% with 6 lines in your changes missing coverage. Please review.

Project coverage is 81.57%. Comparing base (844558d) to head (0d1f715). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
newrelic/hooks/datastore_pymongo.py 45.45% 3 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1218 +/- ## ========================================== + Coverage 81.52% 81.57% +0.04% ========================================== Files 197 197 Lines 21859 21872 +13 Branches 3827 3830 +3 ========================================== + Hits 17820 17841 +21 + Misses 2910 2898 -12 - Partials 1129 1133 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.