Various lint appeasements.
This commit is contained in:
parent
63251b979b
commit
16d9b85e62
5 changed files with 3 additions and 5 deletions
|
@ -10,7 +10,6 @@ from voussoirkit import clipext
|
||||||
from voussoirkit import dotdict
|
from voussoirkit import dotdict
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import ratelimiter
|
from voussoirkit import ratelimiter
|
||||||
from voussoirkit import safeprint
|
|
||||||
from voussoirkit import vlogging
|
from voussoirkit import vlogging
|
||||||
|
|
||||||
log = vlogging.getLogger(__name__, 'downloady')
|
log = vlogging.getLogger(__name__, 'downloady')
|
||||||
|
|
|
@ -12,7 +12,8 @@ def _abc_make_option_letters(options):
|
||||||
option_letters = {}
|
option_letters = {}
|
||||||
letter_length = math.ceil(len(options) / 26)
|
letter_length = math.ceil(len(options) / 26)
|
||||||
for (index, option) in enumerate(options):
|
for (index, option) in enumerate(options):
|
||||||
letter = basenumber.to_base(index, 26, alphabet=string.ascii_lowercase).rjust(letter_length, 'a')
|
letter = basenumber.to_base(index, 26, alphabet=string.ascii_lowercase)
|
||||||
|
letter = letter.rjust(letter_length, 'a')
|
||||||
option_letters[letter] = option
|
option_letters[letter] = option
|
||||||
|
|
||||||
return option_letters
|
return option_letters
|
||||||
|
|
|
@ -3,7 +3,6 @@ This module is designed to provide a GOOD ENOUGH means of identifying duplicate
|
||||||
files very quickly, so that more in-depth checks can be done on likely matches.
|
files very quickly, so that more in-depth checks can be done on likely matches.
|
||||||
'''
|
'''
|
||||||
import hashlib
|
import hashlib
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
|
|
|
@ -3,7 +3,6 @@ This module provides functions related to walking the filesystem and
|
||||||
copying files and folders.
|
copying files and folders.
|
||||||
'''
|
'''
|
||||||
import hashlib
|
import hashlib
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
|
@ -342,6 +341,7 @@ def copy_file(
|
||||||
*,
|
*,
|
||||||
destination_new_root=None,
|
destination_new_root=None,
|
||||||
bytes_per_second=None,
|
bytes_per_second=None,
|
||||||
|
callback_hash_progress=None,
|
||||||
callback_progress=None,
|
callback_progress=None,
|
||||||
callback_permission_denied=None,
|
callback_permission_denied=None,
|
||||||
callback_pre_copy=None,
|
callback_pre_copy=None,
|
||||||
|
|
|
@ -29,7 +29,6 @@ of threadpool in use:
|
||||||
>>> pool.add_many(kwargss)
|
>>> pool.add_many(kwargss)
|
||||||
>>> pool.join()
|
>>> pool.join()
|
||||||
'''
|
'''
|
||||||
import collections
|
|
||||||
import logging
|
import logging
|
||||||
import queue
|
import queue
|
||||||
import threading
|
import threading
|
||||||
|
|
Loading…
Reference in a new issue