false-positive errors with pyroute2 0.7.6 #8497
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Lib specific 💅
This affect the code from a particular library
Needs investigation 🔬
A bug or crash where it's not immediately obvious what is happenning
Bug description
When using pylint with pyroute2 0.7.6, it detects false-positive issues:
The following code is valid pyroute2 code:
But with the pyroute2 0.7.6 release, pylint detects some false-positive problems:
https://github.com/svinota/pyroute2/blob/master/pyroute2/iproute/linux.py#L434
the get_links function takes positional arguments and returns a list.
(Note that pylint works fine with pyroute2 0.7.5)
Command used
Pylint output
Expected behavior
No error
Pylint version
OS / Environment
Fedora 37
Additional dependencies
pyroute2==0.7.6
The text was updated successfully, but these errors were encountered: