You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it has to do with the fact that there are four flavors of IPRoute and one of the flavors (IPMock one) doesn't accept kwarg. The different flavors are picked based on the sys.platform output here.
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
I checked pyroute2 source code, and the get_addr function has a **kwarg parameter: https://github.com/svinota/pyroute2/blob/01f92c84977c20f591cfa02452ff588ad0cc73d5/pyroute2/iproute/linux.py#L538
So it accepts 'index' (and the function works correctly, it filters by index), so that's why I think this is a false positive.
Pylint version
OS / Environment
Ubuntu 22.04.4 LTS
Additional dependencies
The text was updated successfully, but these errors were encountered: