Various lint appeasements.

This commit is contained in:
voussoir 2020-08-03 23:47:40 -07:00
parent 7052a8d41f
commit b7fffcc0c8
12 changed files with 0 additions and 19 deletions

View file

@ -1,5 +1,3 @@
import sys
from voussoirkit import pipeable from voussoirkit import pipeable
for line in pipeable.go(): for line in pipeable.go():

View file

@ -2,7 +2,6 @@ import glob
import os import os
import sys import sys
import tempfile import tempfile
import time
if len(sys.argv) < 3: if len(sys.argv) < 3:
raise ValueError() raise ValueError()

View file

@ -18,11 +18,8 @@
12288 kbps | 1.500 MiB | 90.000 MiB | 2.637 GiB | 5.273 GiB | 7.910 GiB | 10.547 GiB 12288 kbps | 1.500 MiB | 90.000 MiB | 2.637 GiB | 5.273 GiB | 7.910 GiB | 10.547 GiB
16384 kbps | 2.000 MiB | 120.000 MiB | 3.516 GiB | 7.031 GiB | 10.547 GiB | 14.062 GiB 16384 kbps | 2.000 MiB | 120.000 MiB | 3.516 GiB | 7.031 GiB | 10.547 GiB | 14.062 GiB
''' '''
import sys
import kbps import kbps
from voussoirkit import bytestring
times = ['01', '1:00', '30:00', '1:00:00', '1:30:00', '2:00:00'] times = ['01', '1:00', '30:00', '1:00:00', '1:30:00', '2:00:00']
rates = [128, 256, 320, 500, 640, 738, 1024, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 2330.17, 4660.34] rates = [128, 256, 320, 500, 640, 738, 1024, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 2330.17, 4660.34]

View file

@ -26,4 +26,3 @@ def main(args):
if __name__ == '__main__': if __name__ == '__main__':
raise SystemExit(main(sys.argv[1:])) raise SystemExit(main(sys.argv[1:]))

View file

@ -7,8 +7,6 @@ integer that counts each file in the folder.
import argparse import argparse
import os import os
import random
import string
import re import re
import sys import sys

View file

@ -2,7 +2,6 @@ import argparse
import os import os
import subprocess import subprocess
import sys import sys
import types
from voussoirkit import dotdict from voussoirkit import dotdict
from voussoirkit import winwhich from voussoirkit import winwhich

View file

@ -1,9 +1,7 @@
''' '''
Generate a png file of a solid color, specified by a hex code. Generate a png file of a solid color, specified by a hex code.
''' '''
import argparse import argparse
import os
import PIL.Image import PIL.Image
import sys import sys

View file

@ -1,7 +1,5 @@
import os
import socket import socket
import sqlite3 import sqlite3
import subprocess
import sys import sys
import time import time

View file

@ -1,5 +1,3 @@
import sys
from voussoirkit import pipeable from voussoirkit import pipeable

View file

@ -10,7 +10,6 @@ def listget(li, index, fallback=None):
return fallback return fallback
def rid(length=8): def rid(length=8):
import random
bits = length * 4 bits = length * 4
bits = random.getrandbits(bits) bits = random.getrandbits(bits)
identifier = '{:02x}'.format(bits).rjust(length, '0') identifier = '{:02x}'.format(bits).rjust(length, '0')

View file

@ -1,6 +1,5 @@
import sys import sys
from voussoirkit import bytestring
from voussoirkit import spinal from voussoirkit import spinal
from voussoirkit import pathclass from voussoirkit import pathclass

View file

@ -17,4 +17,3 @@ for line in lines:
#new_text.append(line) #new_text.append(line)
seen.add(line) seen.add(line)
print(line) print(line)