File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff 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]
3536output-format = text
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1313
1414def 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
You can’t perform that action at this time.
0 commit comments