Skip to content

Commit 5df765b

Browse files
Fix lint
1 parent 141b120 commit 5df765b

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

linode_api4/objects/vpc.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class VPCIPv4DefaultRange(JSONObject):
1919
ipv4_ranges: Optional[List[str]] = None
2020
forbidden_ipv4_ranges: Optional[List[str]] = None
2121

22+
2223
@dataclass
2324
class VPCIPv4RangeOptions(JSONObject):
2425
"""
@@ -38,6 +39,7 @@ class VPCIPv4Range(JSONObject):
3839

3940
range: str = ""
4041

42+
4143
@dataclass
4244
class VPCIPv6RangeOptions(JSONObject):
4345
"""
@@ -58,6 +60,7 @@ class VPCIPv6Range(JSONObject):
5860

5961
range: str = ""
6062

63+
6164
@dataclass
6265
class VPCSubnetIPv6RangeOptions(JSONObject):
6366
"""
@@ -135,7 +138,9 @@ class VPC(Base):
135138
"label": Property(mutable=True),
136139
"description": Property(mutable=True),
137140
"region": Property(slug_relationship=Region),
138-
"ipv4": Property(json_object=VPCIPv4Range, mutable=True, unordered=True),
141+
"ipv4": Property(
142+
json_object=VPCIPv4Range, mutable=True, unordered=True
143+
),
139144
"ipv6": Property(json_object=VPCIPv6Range, unordered=True),
140145
"subnets": Property(derived_class=VPCSubnet),
141146
"created": Property(is_datetime=True),

test/integration/models/vpc/test_vpc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,3 @@ def test_vpc_with_ipv4(test_linode_client):
196196
finally:
197197
# Delete
198198
vpc.delete()
199-

test/unit/groups/vpc_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,3 @@ def test_default_ranges(self):
120120
self.assertIsInstance(result, VPCIPv4DefaultRange)
121121
self.assertEqual(result.ipv4_ranges, ["10.0.0.0/8", "192.168.0.0/17"])
122122
self.assertEqual(result.forbidden_ipv4_ranges, ["172.17.0.0/16"])
123-

0 commit comments

Comments
 (0)