Skip to content

Commit a05a04c

Browse files
committed
delint
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent c105a15 commit a05a04c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

chaosaws/asg/actions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ def detach_random_instances(asg_names: List[str] = None,
338338
len(instances) * float(instance_percent)) / 100)
339339

340340
if instance_count > len(instances):
341-
raise FailedActivity('You are attempting to detach more instances '
342-
'than exist on asg %s' % (
343-
a['AutoScalingGroupName']))
341+
raise FailedActivity(
342+
'You are attempting to detach more instances '
343+
'than exist on asg %s' % (a['AutoScalingGroupName']))
344344

345345
instances = random.sample(instances, instance_count)
346346

chaosaws/ecs/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def stop_task(cluster: str = None, task_id: str = None, service: str = None,
9292
tasks = list_tasks(cluster=cluster, client=client, service=service)
9393
if not tasks:
9494
raise FailedActivity(
95-
"No ECS tasks found for service: {}".format(service))
95+
"No ECS tasks found for service: {}".format(service))
9696
task_id = random.choice(tasks)
9797
task_id = task_id.rsplit("/", 1)[1]
9898

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ release = sdist bdist_wheel
33
test = pytest
44

55
[wheel]
6-
universal = 0
6+
universal = 0
7+
8+
[pycodestyle]
9+
ignore = E741

0 commit comments

Comments
 (0)