Skip to content

Commit 4be240c

Browse files
authored
chore: force linux line ending (#230)
* chore: force linux line ending * chore: fix file with wrong line ending
1 parent aa6d1e1 commit 4be240c

File tree

3 files changed

+422
-421
lines changed

3 files changed

+422
-421
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ repos:
1919
- id: check-merge-conflict
2020
- id: end-of-file-fixer
2121
- id: mixed-line-ending
22+
args: [--fix=lf]
2223
- id: trailing-whitespace
2324

2425
- repo: https://github.com/pre-commit/mirrors-prettier
Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
1-
from ..core.domain import BaseDomain, DomainIdentityMixin
2-
3-
4-
class LoadBalancerType(BaseDomain, DomainIdentityMixin):
5-
"""LoadBalancerType Domain
6-
7-
:param id: int
8-
ID of the Load Balancer type
9-
:param name: str
10-
Name of the Load Balancer type
11-
:param description: str
12-
Description of the Load Balancer type
13-
:param max_connections: int
14-
Max amount of connections the Load Balancer can handle
15-
:param max_services: int
16-
Max amount of services the Load Balancer can handle
17-
:param max_targets: int
18-
Max amount of targets the Load Balancer can handle
19-
:param max_assigned_certificates: int
20-
Max amount of certificates the Load Balancer can serve
21-
:param prices: Dict
22-
Prices in different locations
23-
24-
"""
25-
26-
__slots__ = (
27-
"id",
28-
"name",
29-
"description",
30-
"max_connections",
31-
"max_services",
32-
"max_targets",
33-
"max_assigned_certificates",
34-
"prices",
35-
)
36-
37-
def __init__(
38-
self,
39-
id=None,
40-
name=None,
41-
description=None,
42-
max_connections=None,
43-
max_services=None,
44-
max_targets=None,
45-
max_assigned_certificates=None,
46-
prices=None,
47-
):
48-
self.id = id
49-
self.name = name
50-
self.description = description
51-
self.max_connections = max_connections
52-
self.max_services = max_services
53-
self.max_targets = max_targets
54-
self.max_assigned_certificates = max_assigned_certificates
55-
self.prices = prices
1+
from ..core.domain import BaseDomain, DomainIdentityMixin
2+
3+
4+
class LoadBalancerType(BaseDomain, DomainIdentityMixin):
5+
"""LoadBalancerType Domain
6+
7+
:param id: int
8+
ID of the Load Balancer type
9+
:param name: str
10+
Name of the Load Balancer type
11+
:param description: str
12+
Description of the Load Balancer type
13+
:param max_connections: int
14+
Max amount of connections the Load Balancer can handle
15+
:param max_services: int
16+
Max amount of services the Load Balancer can handle
17+
:param max_targets: int
18+
Max amount of targets the Load Balancer can handle
19+
:param max_assigned_certificates: int
20+
Max amount of certificates the Load Balancer can serve
21+
:param prices: Dict
22+
Prices in different locations
23+
24+
"""
25+
26+
__slots__ = (
27+
"id",
28+
"name",
29+
"description",
30+
"max_connections",
31+
"max_services",
32+
"max_targets",
33+
"max_assigned_certificates",
34+
"prices",
35+
)
36+
37+
def __init__(
38+
self,
39+
id=None,
40+
name=None,
41+
description=None,
42+
max_connections=None,
43+
max_services=None,
44+
max_targets=None,
45+
max_assigned_certificates=None,
46+
prices=None,
47+
):
48+
self.id = id
49+
self.name = name
50+
self.description = description
51+
self.max_connections = max_connections
52+
self.max_services = max_services
53+
self.max_targets = max_targets
54+
self.max_assigned_certificates = max_assigned_certificates
55+
self.prices = prices

0 commit comments

Comments
 (0)