Closed LeXofLeviafan closed 6 months ago
…Seems like the issue is actually due to pylint bugging out and failing to locate the type during CI testing :thinking:
Turns out that's not quite the case; though it's odd that it actually requires a very specific set of conditions to be reproduced.
…More specifically, these conditions are required for this error to happen:
werkzeug
package must be present in the Python environment;tests/test_views.py
must be linted during the same run.(The kicker is, the cause of the warning is not within either of the files it's printed out for :sweat_smile:)
Thank you!
I couldn't manage to reproduce the warnings locally…
I wonder what's causing the difference :thinking:Turns out pylint misses some checks when it doesn't have access to sources of imported modules. (…Also it only works with Python 3.12 for some reason.)