Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
EverettBerry committed Feb 19, 2024
1 parent ddb4b5b commit 24f3afa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ docker build -t ec2instances.info .

3. Run a container from the built `docker` image:

```bash
````bash
docker run -d --name some-container -p 8080:8080 ec2instances.info

4. Open [localhost:8080](http://localhost:8080) in your browser to see it in action.
Expand All @@ -74,7 +74,7 @@ Here's how you can build and run docker image using Docker Compose (tested with
```bash
docker-compose up
```
````
4. Open [localhost:8080](http://localhost:8080) in your browser to see it in action.
Expand Down
12 changes: 6 additions & 6 deletions scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,9 +1058,9 @@ def add_availability_zone_info(instances):
availability_zones.append(availability_zone_id)
availability_zones.sort()
region_availability_zones[region_name] = availability_zones
instance_type_region_availability_zones[
instance_type
] = region_availability_zones
instance_type_region_availability_zones[instance_type] = (
region_availability_zones
)
for inst in instances:
inst.availability_zones = instance_type_region_availability_zones.get(
inst.instance_type, {}
Expand Down Expand Up @@ -1186,9 +1186,9 @@ def fetch_dedicated_prices():
if inst_type not in all_pricing[region]:
all_pricing[region][inst_type] = {"reserved": {}}

all_pricing[region][inst_type]["reserved"][
translate_ri
] = format_price(price)
all_pricing[region][inst_type]["reserved"][translate_ri] = (
format_price(price)
)

return all_pricing

Expand Down

0 comments on commit 24f3afa

Please sign in to comment.