File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ def unit(self):
304304 >>> Byte(1.1).unit == 'Bytes'
305305 >>> Gb(2).unit == 'Gbs'
306306 """
307- global format_plural # noqa: F841
307+ global format_plural # noqa: F824
308308
309309 if self .prefix_value == 1 :
310310 # If it's a '1', return it singular, no matter what
@@ -383,12 +383,12 @@ def from_other(cls, item):
383383 def __repr__ (self ):
384384 """Representation of this object as you would expect to see in an
385385interpreter"""
386- global _FORMAT_REPR # noqa: F841
386+ global _FORMAT_REPR # noqa: F824
387387 return self .format (_FORMAT_REPR )
388388
389389 def __str__ (self ):
390390 """String representation of this object"""
391- global format_string # noqa: F841
391+ global format_string # noqa: F824
392392 return self .format (format_string )
393393
394394 def format (self , fmt ):
You can’t perform that action at this time.
0 commit comments