Skip to content

Commit

Permalink
Fix E231 rule
Browse files Browse the repository at this point in the history
Fixed the E231 Flake8 rule that targets whitespace around operators and
control characters.
  • Loading branch information
Glutexo authored and dehort committed Jul 16, 2019
1 parent aa46609 commit fd5e2d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion host_dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
elif args.insights_id:
print("looking up host using insights_id")
query_results = Host.query.filter(
Host.canonical_facts.comparator.contains({'insights_id':args.insights_id})
Host.canonical_facts.comparator.contains({'insights_id': args.insights_id})
).all()
elif args.account_number:
query_results = Host.query.filter(
Expand Down
2 changes: 1 addition & 1 deletion test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ def _valid_system_profile(self):
"infrastructure_vendor": "dell",
"network_interfaces": [{"ipv4_addresses": ["10.10.10.1"],
"state": "UP",
"ipv6_addresses": ["2001:0db8:85a3:0000:0000:8a2e:0370:7334",],
"ipv6_addresses": ["2001:0db8:85a3:0000:0000:8a2e:0370:7334"],
"mtu": 1500,
"mac_address": "aa:bb:cc:dd:ee:ff",
"type": "loopback",
Expand Down

0 comments on commit fd5e2d0

Please sign in to comment.