From 54281d52c2a3b66e7ce1080e141bd362fb2134a7 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 14 Aug 2022 10:42:34 -0700 Subject: [PATCH] Some linting fixes. --- directory_discrepancy.py | 1 - fdroidapk.py | 1 - ffstreams.py | 1 - filenamescrambleordered.py | 1 - filepull.py | 1 - grayscale.py | 1 - inputrename.py | 1 - named_python.py | 1 - search.py | 1 - threaded_dl.py | 5 +---- 10 files changed, 1 insertion(+), 13 deletions(-) diff --git a/directory_discrepancy.py b/directory_discrepancy.py index 33f7c7c..1b10a7f 100644 --- a/directory_discrepancy.py +++ b/directory_discrepancy.py @@ -4,7 +4,6 @@ import sys from voussoirkit import betterhelp from voussoirkit import pathclass from voussoirkit import niceprints -from voussoirkit import operatornotify from voussoirkit import spinal from voussoirkit import vlogging diff --git a/fdroidapk.py b/fdroidapk.py index 615c483..8e22da9 100644 --- a/fdroidapk.py +++ b/fdroidapk.py @@ -1,5 +1,4 @@ import argparse -import bs4 import io import json import requests diff --git a/ffstreams.py b/ffstreams.py index 6eba753..e3e3931 100644 --- a/ffstreams.py +++ b/ffstreams.py @@ -4,7 +4,6 @@ import subprocess import sys from voussoirkit import pathclass -from voussoirkit import winglob from voussoirkit import winwhich from voussoirkit import vlogging diff --git a/filenamescrambleordered.py b/filenamescrambleordered.py index 2d9d990..46b87f9 100644 --- a/filenamescrambleordered.py +++ b/filenamescrambleordered.py @@ -10,7 +10,6 @@ import string import sys from voussoirkit import pathclass -from voussoirkit import winglob argv = sys.argv[1:] diff --git a/filepull.py b/filepull.py index 906f4ff..cf0911d 100644 --- a/filepull.py +++ b/filepull.py @@ -6,7 +6,6 @@ from voussoirkit import interactive from voussoirkit import pathclass from voussoirkit import pipeable from voussoirkit import spinal -from voussoirkit import winglob def filepull(pull_from='.', globs=None, autoyes=False): start = pathclass.Path(pull_from) diff --git a/grayscale.py b/grayscale.py index b1e8f40..a5e1e7a 100644 --- a/grayscale.py +++ b/grayscale.py @@ -2,7 +2,6 @@ import argparse import PIL.Image import sys -from voussoirkit import imagetools from voussoirkit import pathclass from voussoirkit import pipeable diff --git a/inputrename.py b/inputrename.py index 25d0c8f..ce15750 100644 --- a/inputrename.py +++ b/inputrename.py @@ -7,7 +7,6 @@ import sys from voussoirkit import pathclass from voussoirkit import pipeable -from voussoirkit import spinal @pipeable.ctrlc_return1 def inputrename_argparse(args): diff --git a/named_python.py b/named_python.py index 7f1a255..5ca796e 100644 --- a/named_python.py +++ b/named_python.py @@ -4,7 +4,6 @@ import sys from voussoirkit import betterhelp from voussoirkit import pathclass -from voussoirkit import winwhich def namedpython_argparse(args): this_python = pathclass.Path(sys.executable) diff --git a/search.py b/search.py index 6d2b0f8..5f5d88c 100644 --- a/search.py +++ b/search.py @@ -1,5 +1,4 @@ import argparse -import inspect import itertools import os import re diff --git a/threaded_dl.py b/threaded_dl.py index 7947a82..7694f2d 100644 --- a/threaded_dl.py +++ b/threaded_dl.py @@ -1,7 +1,6 @@ import argparse import ast import os -import queue import shutil import sys import threading @@ -10,18 +9,16 @@ import time from voussoirkit import betterhelp from voussoirkit import bytestring from voussoirkit import downloady +from voussoirkit import pathclass from voussoirkit import pipeable from voussoirkit import ratelimiter from voussoirkit import ratemeter -from voussoirkit import sentinel from voussoirkit import threadpool from voussoirkit import vlogging log = vlogging.getLogger(__name__, 'threaded_dl') downloady.log.setLevel(vlogging.WARNING) -THREAD_FINISHED = sentinel.Sentinel('thread finished') - def clean_url_list(urls): for url in urls: if isinstance(url, (tuple, list)):