google / cloud-forensics-utils

Python library to carry out DFIR analysis on the Cloud
Apache License 2.0
454 stars 88 forks source link

Linter issues with "consider-using-with" #295

Closed tomchop closed 3 years ago

tomchop commented 3 years ago

Is this relevant? Should we disable this check?

************* Module tests.scripts.utils
tests/scripts/utils.py:43:4: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
************* Module libcloudforensics.providers.gcp.internal.compute
libcloudforensics/providers/gcp/internal/compute.py:793:4: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
************* Module libcloudforensics.scripts.utils
libcloudforensics/scripts/utils.py:43:4: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)