I would like to use a linter (specifically pylint) to debug my code, but accept wildcard imports.
At the moment, it highlights an error in the code, which is importing the gurobipy package:
Undefined variable 'Model' pylint(undefined-variable)
The code snippet provided highlights this issue:
from gurobipy import *
m = Model("mip1") # Pylint shows error in this line
I would like to know if pylint just cannot handle wildcard imports.
I've checked through pylint options in .pylintrc file, generated though console commands, but to no avail.
Yes, I am aware they are a bad coding practice, but I don't know how many methods of the package I'll end up using and I'd prefer avoiding to write "package.method" all the time.
Enabling jedi in the vs code options does allow intellisense to infer the package objects, but the error highlighting persists.
If it is not doable, I'd happily take a recommendation for another linter instead.