Skip to content

Commit

Permalink
lint the name of the linter step 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Dec 28, 2023
1 parent 0d56944 commit f2fcffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
run: pip install .
- name: Tests
run: tox
- name: Litners
- name: Linters
run: tox -e lint
2 changes: 1 addition & 1 deletion sc_crawler/vendors/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2fcffd

Please sign in to comment.