Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
flomotlik committed Feb 22, 2019
1 parent b19a8dd commit fd23e7e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ shell: build-dev
docker-compose run formica bash

clean:
rm -fr dist
rm -fr dist build

build: clean build-dev
docker-compose run formica python setup.py sdist bdist_wheel
Expand Down
2 changes: 1 addition & 1 deletion formica/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def compare_stack_set(stack, vars=None, parameters={}, tags={}):
def __compare(template, stack, vars=None, parameters={}, tags={}):
current_parameters = {p['ParameterKey']: p['ParameterValue'] for p in (stack.get('Parameters') or [])}
parameters = {key: str(value) for key, value in parameters.items()}
tags= {key: str(value) for key, value in tags.items()}
tags = {key: str(value) for key, value in tags.items()}
current_tags = {p['Key']: p['Value'] for p in (stack.get('Tags') or [])}

loader = Loader(variables=vars)
Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_diff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json

import pytest
import re
import yaml
from formica import cli
from uuid import uuid4
Expand Down

0 comments on commit fd23e7e

Please sign in to comment.