diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 24474c49..919a4355 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,5 +16,5 @@ jobs: run: pip install . - name: Tests run: tox - - name: Litners + - name: Linters run: tox -e lint diff --git a/sc_crawler/vendors/aws.py b/sc_crawler/vendors/aws.py index 9310a1c6..e15ebb99 100644 --- a/sc_crawler/vendors/aws.py +++ b/sc_crawler/vendors/aws.py @@ -381,7 +381,7 @@ def annotate_instance_type(instance_type_id): def get_storage(instance_type): """Get storage size and type (tupple) from instance details.""" - if not "InstanceStorageInfo" in instance_type: + if "InstanceStorageInfo" not in instance_type: return (0, None) info = instance_type.get("InstanceStorageInfo") storage_size = info.get("TotalSizeInGB", 0) * 1024 * 1024