Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1352 +/- ##
==========================================
- Coverage 81.07% 81.06% -0.02%
==========================================
Files 204 204
Lines 22830 22832 +2
Branches 3618 3618
==========================================
- Hits 18510 18508 -2
- Misses 3120 3123 +3
- Partials 1200 1201 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fcefe8f to
e861cb3
Compare
e861cb3 to
66cfd5d
Compare
| """ | ||
|
|
||
| global _nr_cached_hostname | ||
| global _nr_cached_hostname_lock |
There was a problem hiding this comment.
PLW0602 - global-variable-not-assigned
There's no need to make this variable global when it's never assigned to. It already reads the globally scoped variable when attempting to use the lock.
| ) | ||
| def test_connect(with_aws, with_ecs, with_pcf, with_gcp, with_azure, with_docker, with_kubernetes, with_ip): | ||
| global AWS, AZURE, GCP, PCF, BOOT_ID, DOCKER, KUBERNETES, IP_ADDRESS | ||
| global AWS, AZURE, GCP, PCF, DOCKER, KUBERNETES, IP_ADDRESS |
There was a problem hiding this comment.
Why was BOOT_ID dropped from being a global?
There was a problem hiding this comment.
|
|
||
|
|
||
| def cat_response_handler(self): | ||
| global CAT_RESPONSE_CODE |
There was a problem hiding this comment.
Same question as the others about this global.
There was a problem hiding this comment.
Co-authored-by: Hannah Stepanek <hstepanek@newrelic.com>

Overview
pylintrules inruff.pylintrecommendations for now, potentially re-enable later.pylintrule violations.