Skip to content

Commit c874a72

Browse files
committed
fix: quote consistency
1 parent f3b2e04 commit c874a72

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ disable =
2828
consider-using-dict-items,
2929
modified-iterating-dict,
3030
too-many-arguments,
31+
too-many-positional-arguments,
3132
broad-exception-caught,
32-
R0917
33+
check-quote-consistency=yes
3334

3435
[REPORTS]
3536
output-format = text

proxstar/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def default_repr(cls):
3131

3232
def __repr__(self):
3333
fields = [f'{key}={val}' for key, val in self.__dict__.items()]
34-
return f'{type(self).__name__}({", ".join(fields)})'
34+
return f'{type(self).__name__}({', '.join(fields)})'
3535

3636
setattr(cls, '__repr__', __repr__)
3737

proxstar/vm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def check_in_gb(size):
1515
if size[-1] == 'M':
16-
size = f'{int(size.rstrip("M")) / 1000}G'
16+
size = f'{int(size.rstrip('M')) / 1000}G'
1717
return size
1818

1919

0 commit comments

Comments
 (0)