Matthew Martin ☑ on Nostr: Anything that needs to import the target library/app needs to be installed in the ...
Anything that needs to import the target library/app needs to be installed in the venv. pylint loses features when installed with pipx but still sort of works. black works find with pipx. I haven't check what features mypy loses if it can't import, maybe it is all static analysis now, but even if it was, it can't check interactions with 3rd party libraries if they're hidden in a venv somewhere else.
Published at
2024-07-02 16:51:41Event JSON
{
"id": "c3ac920f6629d4ec02329654f112144f757be6ea48c12c8ea9fba1f30eec83e9",
"pubkey": "6c79e5c5386ee1cbe5b80303c40f8d781831ef78b63ce76c726c3c0b47f622de",
"created_at": 1719939101,
"kind": 1,
"tags": [
[
"p",
"692cc6e12474dade1aa9520229a4ddcff004f908049582e79633dfdcd618127c"
],
[
"e",
"910783da196655f8641e81d766bd4915dd7aad09fa2cba80d2a7d687a7e63efb",
"",
"root"
],
[
"proxy",
"https://mastodon.social/@mistersql/112717928944864009",
"web"
],
[
"proxy",
"https://mastodon.social/users/mistersql/statuses/112717928944864009",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/mistersql/statuses/112717928944864009",
"pink.momostr"
],
[
"expiration",
"1722531104"
]
],
"content": "Anything that needs to import the target library/app needs to be installed in the venv. pylint loses features when installed with pipx but still sort of works. black works find with pipx. I haven't check what features mypy loses if it can't import, maybe it is all static analysis now, but even if it was, it can't check interactions with 3rd party libraries if they're hidden in a venv somewhere else.",
"sig": "bd18eaa67394f67e544e11dfa5a6f2baa961f0d598b1f913083bc618a0310bd6b25e7354727faa241924e318ea38fdffd9716401ad19f93867f8c02803f895d7"
}