#You can try this to see where its

1 messages ยท Page 1 of 1 (latest)

unkempt badge
#

Ok. Thanks. I'll see if I can figure out if the default is being hidden.

tall tinsel
#

Any luck?

unkempt badge
#

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?

tall tinsel
#

Are you using raw pylint, or the pylint pre-hook in pre-commit?

unkempt badge
#

pre-commit is the one that breaks. Raw pylint doesn't complain.

tall tinsel
#

Huh, that is weird, I would have expected the other way around

unkempt badge
#

but I obviously don't want to muck around with the pylint config.

tall tinsel
#

When you push it to Github, does the CI fail for the same reason?

unkempt badge
#

Yes.

#

I'm going to re-verify that, though. It's been a while since I tried to commit.

#

Confirmed. ๐Ÿ˜ฆ

tall tinsel
#

I don't see it on a fresh clone, werid. Can you link your repo?

unkempt badge
#

Nothing has been committed there yet, since I can't get through the pre-commit.

tall tinsel
#

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 ๐Ÿ™‚

unkempt badge
#

ok, thanks. I'll try that.

unkempt badge
#

Well, I turned it off locally and was able to get the pull request submitted and it passed pre-commit on the server. So, I guess it will remain a mystery for now.

#

Thank you for your patience and help.