mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
GHA CI: enforce sorted import in Python scripts
This main point is to normalize the sorting of imports in Python scripts. Currently the default setting from isort is used: https://pycqa.github.io/isort/docs/configuration/custom_sections_and_ordering.html PR #22793.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# VERSION: 1.53
|
||||
# VERSION: 1.54
|
||||
|
||||
# Author:
|
||||
# Christophe DUMEZ (chris@qbittorrent.org)
|
||||
@@ -33,7 +33,6 @@ import html
|
||||
import io
|
||||
import os
|
||||
import socket
|
||||
import socks
|
||||
import ssl
|
||||
import sys
|
||||
import tempfile
|
||||
@@ -43,6 +42,8 @@ import urllib.request
|
||||
from collections.abc import Mapping
|
||||
from typing import Any, Optional
|
||||
|
||||
import socks
|
||||
|
||||
|
||||
def _getBrowserUserAgent() -> str:
|
||||
""" Disguise as browser to circumvent website blocking """
|
||||
|
||||
Reference in New Issue
Block a user