-
I'm new to micropython-stubs and I don't know if this is a real issue with the stubs or it is a bad configuration of my environment. I'm using MicroPython v1.18 with ESP32 board and the master branch of micropython-stubs. My .pylintrc configuration is:
If I check this test.py program with "pylint test.py":
I get this errors:
I don't guess why E06xx errors appear because "micropython-stubs/micropython-v1_18-esp32/utime.py" defines:
Under vscode I get the same result using this "settings.json" configuration:
Is this an issue with micropython-stubs or is there any mistake in my configuration? Best regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, I'm currently on a break without a computer so can't really verify at this time. I know pyright recently changed the resolution order to avoid the false warnings for time sys, gc and several other modules. Not sure if that has propagated into pylance yet. I see no obvious mistakes in the configs. On the pylint errors, I did find that pylint threw more false positives than pylance, so personally I switched it off, or disabled quite a few error classes |
Beta Was this translation helpful? Give feedback.
Hi, I'm currently on a break without a computer so can't really verify at this time.
I know pyright recently changed the resolution order to avoid the false warnings for time sys, gc and several other modules. Not sure if that has propagated into pylance yet.
I see no obvious mistakes in the configs.
On the pylint errors, I did find that pylint threw more false positives than pylance, so personally I switched it off, or disabled quite a few error classes