mirror of
https://github.com/9001/copyparty.git
synced 2025-10-02 14:42:28 -06:00
more ruff ruff fixes
This commit is contained in:
parent
9a07d1dd80
commit
869f77f2a4
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from fontTools.ttLib import TTFont, newTable
|
from fontTools.ttLib import TTFont
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import re, os, sys, codecs
|
import re
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import codecs
|
||||||
|
|
||||||
outfile = os.path.realpath(sys.argv[1])
|
outfile = os.path.realpath(sys.argv[1])
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os, codecs
|
import os
|
||||||
|
import codecs
|
||||||
|
|
||||||
for fn in os.listdir("."):
|
for fn in os.listdir("."):
|
||||||
if not fn.endswith(".txt"):
|
if not fn.endswith(".txt"):
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
import base64
|
import base64
|
||||||
import hashlib
|
import hashlib
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess as sp
|
import subprocess as sp
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,7 +1,17 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# coding: latin-1
|
# coding: latin-1
|
||||||
from __future__ import print_function, unicode_literals
|
from __future__ import print_function, unicode_literals
|
||||||
import re, os, sys, time, shutil, signal, tarfile, hashlib, platform, tempfile, traceback
|
import re
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
import shutil
|
||||||
|
import signal
|
||||||
|
import tarfile
|
||||||
|
import hashlib
|
||||||
|
import platform
|
||||||
|
import tempfile
|
||||||
|
import traceback
|
||||||
import subprocess as sp
|
import subprocess as sp
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue