fix: resolve lint errors (E741 ambiguous var, F401 unused import)
This commit is contained in:
@@ -567,7 +567,7 @@ def get_cookies() -> Dict[str, str]:
|
|||||||
if hint:
|
if hint:
|
||||||
lines.append("")
|
lines.append("")
|
||||||
lines.append("Likely cause:")
|
lines.append("Likely cause:")
|
||||||
lines.extend(" " + l for l in hint.splitlines())
|
lines.extend(" " + line for line in hint.splitlines())
|
||||||
lines.append("")
|
lines.append("")
|
||||||
lines.append("Option 1: Set TWITTER_AUTH_TOKEN and TWITTER_CT0 environment variables")
|
lines.append("Option 1: Set TWITTER_AUTH_TOKEN and TWITTER_CT0 environment variables")
|
||||||
lines.append("Option 2: Make sure you are logged into x.com in your browser (Arc/Chrome/Edge/Firefox/Brave)")
|
lines.append("Option 2: Make sure you are logged into x.com in your browser (Arc/Chrome/Edge/Firefox/Brave)")
|
||||||
|
|||||||
@@ -1007,7 +1007,6 @@ def doctor(as_json, as_yaml):
|
|||||||
_diagnose_keychain_issues,
|
_diagnose_keychain_issues,
|
||||||
_extract_in_process,
|
_extract_in_process,
|
||||||
_extract_via_subprocess,
|
_extract_via_subprocess,
|
||||||
extract_from_browser,
|
|
||||||
load_from_env,
|
load_from_env,
|
||||||
verify_cookies,
|
verify_cookies,
|
||||||
)
|
)
|
||||||
|
|||||||
2
uv.lock
generated
2
uv.lock
generated
@@ -1010,7 +1010,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "twitter-cli"
|
name = "twitter-cli"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "beautifulsoup4" },
|
{ name = "beautifulsoup4" },
|
||||||
|
|||||||
Reference in New Issue
Block a user