Some linting fixes.
This commit is contained in:
parent
5ffbf30a52
commit
54281d52c2
10 changed files with 1 additions and 13 deletions
|
@ -4,7 +4,6 @@ import sys
|
||||||
from voussoirkit import betterhelp
|
from voussoirkit import betterhelp
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import niceprints
|
from voussoirkit import niceprints
|
||||||
from voussoirkit import operatornotify
|
|
||||||
from voussoirkit import spinal
|
from voussoirkit import spinal
|
||||||
from voussoirkit import vlogging
|
from voussoirkit import vlogging
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import argparse
|
import argparse
|
||||||
import bs4
|
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
import requests
|
import requests
|
||||||
|
|
|
@ -4,7 +4,6 @@ import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import winglob
|
|
||||||
from voussoirkit import winwhich
|
from voussoirkit import winwhich
|
||||||
from voussoirkit import vlogging
|
from voussoirkit import vlogging
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ import string
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import winglob
|
|
||||||
|
|
||||||
argv = sys.argv[1:]
|
argv = sys.argv[1:]
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ from voussoirkit import interactive
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import pipeable
|
from voussoirkit import pipeable
|
||||||
from voussoirkit import spinal
|
from voussoirkit import spinal
|
||||||
from voussoirkit import winglob
|
|
||||||
|
|
||||||
def filepull(pull_from='.', globs=None, autoyes=False):
|
def filepull(pull_from='.', globs=None, autoyes=False):
|
||||||
start = pathclass.Path(pull_from)
|
start = pathclass.Path(pull_from)
|
||||||
|
|
|
@ -2,7 +2,6 @@ import argparse
|
||||||
import PIL.Image
|
import PIL.Image
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from voussoirkit import imagetools
|
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import pipeable
|
from voussoirkit import pipeable
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ import sys
|
||||||
|
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import pipeable
|
from voussoirkit import pipeable
|
||||||
from voussoirkit import spinal
|
|
||||||
|
|
||||||
@pipeable.ctrlc_return1
|
@pipeable.ctrlc_return1
|
||||||
def inputrename_argparse(args):
|
def inputrename_argparse(args):
|
||||||
|
|
|
@ -4,7 +4,6 @@ import sys
|
||||||
|
|
||||||
from voussoirkit import betterhelp
|
from voussoirkit import betterhelp
|
||||||
from voussoirkit import pathclass
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import winwhich
|
|
||||||
|
|
||||||
def namedpython_argparse(args):
|
def namedpython_argparse(args):
|
||||||
this_python = pathclass.Path(sys.executable)
|
this_python = pathclass.Path(sys.executable)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import argparse
|
import argparse
|
||||||
import inspect
|
|
||||||
import itertools
|
import itertools
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import argparse
|
import argparse
|
||||||
import ast
|
import ast
|
||||||
import os
|
import os
|
||||||
import queue
|
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
import threading
|
import threading
|
||||||
|
@ -10,18 +9,16 @@ import time
|
||||||
from voussoirkit import betterhelp
|
from voussoirkit import betterhelp
|
||||||
from voussoirkit import bytestring
|
from voussoirkit import bytestring
|
||||||
from voussoirkit import downloady
|
from voussoirkit import downloady
|
||||||
|
from voussoirkit import pathclass
|
||||||
from voussoirkit import pipeable
|
from voussoirkit import pipeable
|
||||||
from voussoirkit import ratelimiter
|
from voussoirkit import ratelimiter
|
||||||
from voussoirkit import ratemeter
|
from voussoirkit import ratemeter
|
||||||
from voussoirkit import sentinel
|
|
||||||
from voussoirkit import threadpool
|
from voussoirkit import threadpool
|
||||||
from voussoirkit import vlogging
|
from voussoirkit import vlogging
|
||||||
|
|
||||||
log = vlogging.getLogger(__name__, 'threaded_dl')
|
log = vlogging.getLogger(__name__, 'threaded_dl')
|
||||||
downloady.log.setLevel(vlogging.WARNING)
|
downloady.log.setLevel(vlogging.WARNING)
|
||||||
|
|
||||||
THREAD_FINISHED = sentinel.Sentinel('thread finished')
|
|
||||||
|
|
||||||
def clean_url_list(urls):
|
def clean_url_list(urls):
|
||||||
for url in urls:
|
for url in urls:
|
||||||
if isinstance(url, (tuple, list)):
|
if isinstance(url, (tuple, list)):
|
||||||
|
|
Loading…
Reference in a new issue