mirror of
https://github.com/curl/curl.git
synced 2026-07-27 10:57:19 +03:00
fix ruff complains about python imperfections
This commit is contained in:
parent
75c5d663ac
commit
5900c6bf92
2 changed files with 2 additions and 3 deletions
|
|
@ -676,7 +676,7 @@ def run_score(args, protocol):
|
|||
sockd = None
|
||||
socks_args = None
|
||||
if args.socks4 and args.socks5:
|
||||
raise ScoreCardError(f'unable to run --socks4 and --socks5 together')
|
||||
raise ScoreCardError('unable to run --socks4 and --socks5 together')
|
||||
elif args.socks4 or args.socks5:
|
||||
sockd = Dante(env=env)
|
||||
if sockd:
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ import os
|
|||
import socket
|
||||
import subprocess
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
from typing import List, Dict
|
||||
from typing import Dict
|
||||
|
||||
from .env import Env
|
||||
from .ports import alloc_ports_and_do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue