#You can try this to see where its
1 messages ยท Page 1 of 1 (latest)
Any luck?
Well, when I run it directly, it's pulling it from my python3 libs, as it should. The file: /usr/local/Cellar/python@3.10/3.10.2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/struct.py includes a reference for unpack. So that seems ok.
What I don't know is why pylint has a problem with loading that module correctly. Any idea how to see what it's doing to load struct?
Are you using raw pylint, or the pylint pre-hook in pre-commit?
pre-commit is the one that breaks. Raw pylint doesn't complain.
Huh, that is weird, I would have expected the other way around
Seems possible that it might be this issue: https://github.com/PyCQA/pylint/issues/1524
I have the ProxyTypes package installed and have a file mymodule.py that imports it like: from peak.util.proxies import CallbackProxy However, pylint throws this false error for it: E: 8, 0: No nam...
but I obviously don't want to muck around with the pylint config.
When you push it to Github, does the CI fail for the same reason?
Yes.
I'm going to re-verify that, though. It's been a while since I tried to commit.
Confirmed. ๐ฆ
I don't see it on a fresh clone, werid. Can you link your repo?
Nothing has been committed there yet, since I can't get through the pre-commit.
You could unhook pre-commit
I think it's precommit uninstall
That should let you push it
I actually don't use pre-commit on my Windows setup because my git GUI freaks out, so I just run it manually ๐
ok, thanks. I'll try that.